Permalink
Browse files

Merge commit 'jdunphy/merb_test_unit-raketasks'

* commit 'jdunphy/merb_test_unit-raketasks':
  Switching to names consistent with what gets generated by merb-gen.
  • Loading branch information...
2 parents 3a21c8e + dd4d81a commit 9875d074a0fe98333928f7f793c35291ccecf1f0 @michaelklishin michaelklishin committed Oct 21, 2008
Showing with 11 additions and 11 deletions.
  1. +11 −11 merb_test_unit/lib/merb_test_unit/merbtasks.rb
@@ -1,15 +1,15 @@
-desc 'Run unit tests'
-Rake::TestTask.new('test_unit') do |t|
- t.libs << 'test'
- t.pattern = 'test/unit/*_test.rb'
- t.verbose = true
-end
+namespace(:test) do
+ Rake::TestTask.new('models') do |t|
+ t.libs << 'test'
+ t.pattern = 'test/models/*_test.rb'
+ t.verbose = true
+ end
-desc 'Run functional tests'
-Rake::TestTask.new('test_functional') do |t|
- t.libs << 'test'
- t.pattern = 'test/functional/*_test.rb'
- t.verbose = true
+ Rake::TestTask.new('controllers') do |t|
+ t.libs << 'test'
+ t.pattern = 'test/controllers/*_test.rb'
+ t.verbose = true
+ end
end
desc 'Run all tests'

0 comments on commit 9875d07

Please sign in to comment.