Browse files

Put fixture file in test unit testcase

  • Loading branch information...
1 parent 6ece668 commit 0cab271007022ea0a2a1ee4761254c26f45e29de @jnunemaker committed Mar 26, 2009
Showing with 3 additions and 4 deletions.
  1. +3 −4 test/test_helper.rb
View
7 test/test_helper.rb
@@ -11,8 +11,7 @@
require 'columbus'
class Test::Unit::TestCase
-end
-
-def fixture_file(file)
- File.read(File.join(File.dirname(__FILE__), 'fixtures', file))
+ def fixture_file(file)
+ File.read(File.join(File.dirname(__FILE__), 'fixtures', file))
+ end
end

0 comments on commit 0cab271

Please sign in to comment.