Skip to content

Commit 2d45007

Browse files
committed
Make sure test_helper is loaded first when running tests, so coverage report is accurate
1 parent d676d1f commit 2d45007

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Rake::TestTask.new(:test) do |t|
77
t.libs << 'test'
88
t.pattern = 'test/**/*_test.rb'
99
t.verbose = true
10+
t.ruby_opts = ['-r "./test/test_helper"']
1011
end
1112

1213
task :console do

0 commit comments

Comments
 (0)