Permalink
Browse files

Move dummy_object into test_helper for reuse

  • Loading branch information...
1 parent d38c501 commit 36bc8601f0915ca3d3c531c754252ccc33579bd8 Greg committed Aug 9, 2009
Showing with 5 additions and 5 deletions.
  1. +5 −1 test/test_helper.rb
  2. +0 −4 test/unit/go_fish_test.rb
View
@@ -2,4 +2,8 @@
require 'test/unit'
require 'mocha'
-require File.dirname(__FILE__) + '/../go_fish'
+require File.dirname(__FILE__) + '/../go_fish'
+
+def dummy_object
+ Object.new
+end
@@ -52,10 +52,6 @@ def test_negative_response_getter_setter
private
- def dummy_object
- Object.new
- end
-
def assert_positive_response(response)
assert_equal @positive_response, response
end

0 comments on commit 36bc860

Please sign in to comment.