Permalink
Browse files

fix running standalone tests

  • Loading branch information...
1 parent 20b3c0d commit e41c8ac091296cecdd3b3e48ca3e3ad4354a1b19 @ninjudd committed Sep 12, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 Rakefile
  2. +1 −1 test/model_set_test.rb
  3. +1 −1 test/multi_set_test.rb
View
2 Rakefile
@@ -2,7 +2,7 @@ require 'rake/testtask'
require 'bundler/gem_tasks'
Rake::TestTask.new do |t|
- t.libs = ['lib', 'test']
+ t.libs = ['lib']
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
View
2 test/model_set_test.rb
@@ -1,4 +1,4 @@
-require 'test_helper'
+require File.dirname(__FILE__) + '/test_helper'
class ModelSetTest < Test::Unit::TestCase
class CreateTables < ActiveRecord::Migration
View
2 test/multi_set_test.rb
@@ -1,4 +1,4 @@
-require 'test_helper'
+require File.dirname(__FILE__) + '/test_helper'
class MultiSetTest < Test::Unit::TestCase
class CreateTables < ActiveRecord::Migration

0 comments on commit e41c8ac

Please sign in to comment.