1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/tests/models/sns/topic_tests.rb

16 lines
431 B
Ruby
Raw Normal View History

2015-01-02 12:34:40 -05:00
Shindo.tests("AWS::SNS | topic", ['aws', 'sns']) do
params = {:id => 'fog'}
model_tests(Fog::AWS[:sns].topics, params) do
@instance.wait_for { ready? }
tests("#display_name").returns('fog') { @instance.display_name }
tests("#update_topic_attribute") do
@instance.update_topic_attribute("DisplayName", "new-fog")
tests("#display_name").returns('new-fog') { @instance.display_name }
end
end
end