mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Typos
This commit is contained in:
parent
0e0b30227d
commit
9a891cd101
2 changed files with 3 additions and 3 deletions
|
@ -17,9 +17,9 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
# Munge an array of ListernerDescription hashes like:
|
# Munge an array of ListenerDescription hashes like:
|
||||||
# {'Listener' => listener, 'PolicyNames' => []}
|
# {'Listener' => listener, 'PolicyNames' => []}
|
||||||
# to an array of listeners withi a PolicyNames key
|
# to an array of listeners with a PolicyNames key
|
||||||
def munged_data
|
def munged_data
|
||||||
data.map {|description|
|
data.map {|description|
|
||||||
description['Listener'].merge('PolicyNames' => description['PolicyNames'])
|
description['Listener'].merge('PolicyNames' => description['PolicyNames'])
|
||||||
|
|
|
@ -42,7 +42,7 @@ Shindo.tests('AWS::ELB | models', ['aws', 'elb']) do
|
||||||
tests('ids match').returns(elb_id) { elb_get.id }
|
tests('ids match').returns(elb_id) { elb_get.id }
|
||||||
end
|
end
|
||||||
|
|
||||||
tests('createing a duplicate elb') do
|
tests('creating a duplicate elb') do
|
||||||
raises(Fog::AWS::ELB::IdentifierTaken) do
|
raises(Fog::AWS::ELB::IdentifierTaken) do
|
||||||
AWS[:elb].load_balancers.create(:id => elb_id, :availability_zones => ['us-east-1d'])
|
AWS[:elb].load_balancers.create(:id => elb_id, :availability_zones => ['us-east-1d'])
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue