Skip to content

Commit

Permalink
Switching to names consistent with what gets generated by merb-gen.
Browse files Browse the repository at this point in the history
rake test:models
rake test:controllers
  • Loading branch information
jdunphy authored and mattetti committed Dec 13, 2008
1 parent 6086056 commit 170fa50
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions merb_test_unit/lib/merb_test_unit/merbtasks.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,15 +1,15 @@
desc 'Run unit tests' namespace(:test) do
Rake::TestTask.new('test_unit') do |t| Rake::TestTask.new('models') do |t|
t.libs << 'test' t.libs << 'test'
t.pattern = 'test/unit/*_test.rb' t.pattern = 'test/models/*_test.rb'
t.verbose = true t.verbose = true
end end


desc 'Run functional tests' Rake::TestTask.new('controllers') do |t|
Rake::TestTask.new('test_functional') do |t| t.libs << 'test'
t.libs << 'test' t.pattern = 'test/controllers/*_test.rb'
t.pattern = 'test/functional/*_test.rb' t.verbose = true
t.verbose = true end
end end


desc 'Run all tests' desc 'Run all tests'
Expand Down

0 comments on commit 170fa50

Please sign in to comment.