Rakefile in trailblazer-0.0.1 vs Rakefile in trailblazer-0.1.0
- old
+ new
@@ -1,14 +1,28 @@
require "bundler/gem_tasks"
+require "rake/testtask"
+
+task :default => [:test]
+Rake::TestTask.new(:test) do |test|
+ test.libs << 'test'
+ test.test_files = FileList['test/*_test.rb']
+ test.verbose = true
+end
+
+Rake::TestTask.new(:rails) do |test|
+ test.libs << 'test/rails'
+ test.test_files = FileList['test/rails/*_test.rb']
+ test.verbose = true
+end
\ No newline at end of file