spec/miam/delete_spec.rb in miam-0.2.4.beta14 vs spec/miam/delete_spec.rb in miam-0.2.4.beta15

- old
+ new

@@ -1,9 +1,9 @@ describe 'delete' do let(:dsl) do <<-RUBY - user "bob", :path=>"/devloper/" do + user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" @@ -72,11 +72,11 @@ end let(:expected) do {:users=> {"bob"=> - {:path=>"/devloper/", + {:path=>"/developer/", :groups=>["Admin", "SES"], :attached_managed_policies=>[], :policies=> {"S3"=> {"Statement"=> @@ -137,11 +137,11 @@ end context 'when delete group' do let(:delete_group_dsl) do <<-RUBY - user "bob", :path=>"/devloper/" do + user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin" ) @@ -349,11 +349,11 @@ end context 'when delete instance_profile' do let(:delete_instance_profiles_dsl) do <<-RUBY - user "bob", :path=>"/devloper/" do + user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" @@ -430,11 +430,11 @@ end context 'when delete role' do let(:delete_role_dsl) do <<-RUBY - user "bob", :path=>"/devloper/" do + user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES" @@ -489,10 +489,10 @@ end context 'when delete role and instance_profile' do let(:delete_role_and_instance_profile_dsl) do <<-RUBY - user "bob", :path=>"/devloper/" do + user "bob", :path=>"/developer/" do login_profile :password_reset_required=>true groups( "Admin", "SES"