Fix pattern to only load files under our test directory

This commit is contained in:
Carlos Antonio da Silva 2014-07-09 19:47:17 -03:00
parent 217be44d55
commit de08cd786a
1 changed files with 1 additions and 2 deletions

View File

@ -6,8 +6,7 @@ task :default => [:test]
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
dir = File.dirname(__FILE__)
t.pattern = "#{dir}/**/*_test.rb"
t.pattern = "test/**/*_test.rb"
t.verbose = true
t.warning = true
end