test/services/publisher_test.rb in propono-2.0.0.rc2 vs test/services/publisher_test.rb in propono-2.0.0.rc3
- old
+ new
@@ -113,15 +113,9 @@
assert_raises(PublisherError, "Topic is nil") do
Publisher.publish(aws_client, propono_config, nil, "foobar")
end
end
- def test_publish_should_raise_exception_if_topic_is_nil
- assert_raises(PublisherError, "Topic is nil") do
- Publisher.publish(aws_client, propono_config, nil, "foobar")
- end
- end
-
def test_publish_should_raise_exception_if_message_is_nil
assert_raises(PublisherError, "Message is nil") do
Publisher.publish(aws_client, propono_config, "foobar", nil)
end
end