Permalink
Browse files

Run the generators tests in isolation

  • Loading branch information...
1 parent 3f4b626 commit 2173991dcca776a8f1ec46e6830a889cb7e495f5 Rafael Mendonça França committed Nov 27, 2012
Showing with 9 additions and 2 deletions.
  1. +9 −2 Rakefile
View
@@ -3,10 +3,17 @@ require "bundler/gem_tasks"
require 'rake/testtask'
-Rake::TestTask.new do |t|
+Rake::TestTask.new("test:regular") do |t|
t.libs = ["test"]
- t.pattern = "test/**/*_test.rb"
+ t.pattern = "test/*_test.rb"
+ t.ruby_opts = ['-w']
+end
+
+Rake::TestTask.new("test:generators") do |t|
+ t.libs = ["test"]
+ t.pattern = "test/generators/*_test.rb"
t.ruby_opts = ['-w']
end
task :default => :test
+task :test => ['test:regular', 'test:generators']

0 comments on commit 2173991

Please sign in to comment.