mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
15 lines
431 B
Ruby
15 lines
431 B
Ruby
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
|