1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|ses] mark tests as pending in mocked mode

This commit is contained in:
geemus 2011-01-27 14:51:14 -08:00
parent b43ac39a9d
commit 923f449b39

View file

@ -3,15 +3,18 @@ Shindo.tests('AWS::SES | verified email address requests', ['aws', 'ses']) do
tests('success') do tests('success') do
tests("#verify_email_address('test@example.com')").formats(AWS::SES::Formats::BASIC) do tests("#verify_email_address('test@example.com')").formats(AWS::SES::Formats::BASIC) do
pending if Fog.mocking?
AWS[:ses].verify_email_address('test@example.com').body AWS[:ses].verify_email_address('test@example.com').body
end end
tests("#list_verified_email_addresses").formats(AWS::SES::Formats::BASIC.merge('VerifiedEmailAddresses' => [String])) do tests("#list_verified_email_addresses").formats(AWS::SES::Formats::BASIC.merge('VerifiedEmailAddresses' => [String])) do
pending if Fog.mocking?
AWS[:ses].list_verified_email_addresses.body AWS[:ses].list_verified_email_addresses.body
end end
# email won't be there to delete, but succeeds regardless # email won't be there to delete, but succeeds regardless
tests("#delete_verified_email_address('test@example.com')").formats(AWS::SES::Formats::BASIC) do tests("#delete_verified_email_address('test@example.com')").formats(AWS::SES::Formats::BASIC) do
pending if Fog.mocking?
AWS[:ses].delete_verified_email_address('notaanemail@example.com').body AWS[:ses].delete_verified_email_address('notaanemail@example.com').body
end end