test/stubba_acceptance_test.rb in mocha-0.3.3 vs test/stubba_acceptance_test.rb in mocha-0.4.0
- old
+ new
@@ -1,7 +1,7 @@
require 'test_helper'
-require 'stubba'
+require 'mocha'
class Widget
def model
'original_model'
@@ -66,10 +66,10 @@
end
def test_should_stub_two_different_class_methods_again
should_stub_two_different_class_methods
end
-
+
private
def should_stub_module_method
Thingy.expects(:wotsit).returns(:dooda)
assert_equal :dooda, Thingy.wotsit
\ No newline at end of file