From 9a891cd10174dfe550992b1b3632a7fda2ff8176 Mon Sep 17 00:00:00 2001 From: Blake Gentry Date: Thu, 14 Jul 2011 19:22:25 -0700 Subject: [PATCH] Typos --- lib/fog/aws/models/elb/listeners.rb | 4 ++-- tests/aws/models/elb/model_tests.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fog/aws/models/elb/listeners.rb b/lib/fog/aws/models/elb/listeners.rb index 908c1892d..4da392d1b 100644 --- a/lib/fog/aws/models/elb/listeners.rb +++ b/lib/fog/aws/models/elb/listeners.rb @@ -17,9 +17,9 @@ module Fog end private - # Munge an array of ListernerDescription hashes like: + # Munge an array of ListenerDescription hashes like: # {'Listener' => listener, 'PolicyNames' => []} - # to an array of listeners withi a PolicyNames key + # to an array of listeners with a PolicyNames key def munged_data data.map {|description| description['Listener'].merge('PolicyNames' => description['PolicyNames']) diff --git a/tests/aws/models/elb/model_tests.rb b/tests/aws/models/elb/model_tests.rb index 1ad80a499..1770de2bd 100644 --- a/tests/aws/models/elb/model_tests.rb +++ b/tests/aws/models/elb/model_tests.rb @@ -42,7 +42,7 @@ Shindo.tests('AWS::ELB | models', ['aws', 'elb']) do tests('ids match').returns(elb_id) { elb_get.id } end - tests('createing a duplicate elb') do + tests('creating a duplicate elb') do raises(Fog::AWS::ELB::IdentifierTaken) do AWS[:elb].load_balancers.create(:id => elb_id, :availability_zones => ['us-east-1d']) end