Rakefile in structure-0.24.0 vs Rakefile in structure-0.25.0
- old
+ new
@@ -1,9 +1,9 @@
require 'bundler/gem_tasks'
require 'rake/testtask'
-task :default => :test
-
-Rake::TestTask.new do |test|
- test.libs += %w{lib test}
- test.test_files = FileList['test/**/*_test.rb']
+Rake::TestTask.new do |t|
+ t.libs.push('lib')
+ t.test_files = FileList['test/**/*_test.rb']
end
+
+task :default => [:test]