Skip to content

Commit

Permalink
Make testable by rubygems-test.
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Feb 3, 2011
1 parent cc43664 commit 2c46df2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Empty file added .gemtest
Empty file.
7 changes: 5 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ module Mocha
end

desc "Run all tests"
task 'default' => ['test:units', 'test:acceptance', 'test:performance']
task 'default' => ['test', 'test:performance']

desc "Run unit & acceptance tests"
task 'test' => ['test:units', 'test:acceptance']

namespace 'test' do

unit_tests = FileList['test/unit/**/*_test.rb']
acceptance_tests = FileList['test/acceptance/*_test.rb']

Expand Down

0 comments on commit 2c46df2

Please sign in to comment.