test/topic_creator_test.rb in propono-0.1.0 vs test/topic_creator_test.rb in propono-0.2.0

- old
+ new

@@ -19,10 +19,11 @@ sns = mock(create_topic: result) creator = TopicCreator.new("foobar") creator.stubs(sns: sns) - assert_equal arn, creator.find_or_create + topic = creator.find_or_create + assert_equal arn, topic.arn end def test_should_raise_exception_if_no_arn_returned result = mock(body: {}) sns = mock(create_topic: result)