test/queue_subscription_test.rb in propono-0.4.0 vs test/queue_subscription_test.rb in propono-0.5.0
- old
+ new
@@ -26,19 +26,19 @@
config.application_name = "MyApp"
topic_id = "Foobar"
subscription = QueueSubscription.new(topic_id)
- assert_equal subscription.send(:queue_name), "MyApp::Foobar"
+ assert_equal subscription.send(:queue_name), "MyApp-Foobar"
end
def test_subscription_queue_name_with_spaces
config.application_name = "My App"
topic_id = "Foobar"
subscription = QueueSubscription.new(topic_id)
- assert_equal subscription.send(:queue_name), "My_App::Foobar"
+ assert_equal subscription.send(:queue_name), "My_App-Foobar"
end
def test_create_calls_create
arn = "arn123"