test/larva_test.rb in larva-0.4.1 vs test/larva_test.rb in larva-0.5.0
- old
+ new
@@ -1,11 +1,10 @@
require File.expand_path('../test_helper', __FILE__)
module Larva
class LarvaTest < Minitest::Test
- def test_shit_happens
- topic, message = "Foo", "Bar"
- Propono::Publisher.expects(:publish).with(topic, message, {})
- Propono.publish(topic, message)
+ def test_mock_proxies_to_mocker
+ Larva::Mocker.expects(:mock!)
+ Larva.mock!
end
end
end