Rakefile in test_squad-0.1.0 vs Rakefile in test_squad-0.1.1
- old
+ new
@@ -1,19 +1,10 @@
-begin
- require 'bundler/setup'
-rescue LoadError
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
-end
+require "bundler/gem_tasks"
+require "rake/testtask"
-Bundler::GemHelper.install_tasks
-
-require 'rake/testtask'
-
Rake::TestTask.new(:test) do |t|
- t.libs << 'lib'
- t.libs << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = false
+ t.libs << "test"
+ t.test_files = FileList["test/**/*_test.rb"]
t.warning = false
end
task default: :test