lib/test/unit/given/simple.rb in test_unit-given-0.9.1 vs lib/test/unit/given/simple.rb in test_unit-given-0.9.2
- old
+ new
@@ -134,11 +134,11 @@
# Example:
#
# Given {
# @google = mock()
# }
- # When test_runs
+ # When the_test_runs
# Then {
# @google.expects(:search).with('foo').returns('bar')
# }
# Given {
# @my_search = Search.new(@google)
@@ -148,10 +148,10 @@
# }
# Then {
# assert_equal 'Found bar',@result
# }
# And mocks_shouldve_been_called
- def test_runs
+ def the_test_runs
lambda {}
end
# Similar to #test_runs, this is used to make clear what
# you are testing and what the assertions are. Since many Ruby mock