Permalink
Browse files

Make testable by rubygems-test.

  • Loading branch information...
1 parent cc43664 commit 2c46df2ca31ebb869c1d94cfbb612074131c1f8d @floehopper floehopper committed Feb 3, 2011
Showing with 5 additions and 2 deletions.
  1. 0 .gemtest
  2. +5 −2 Rakefile
View
0 .gemtest
No changes.
View
7 Rakefile
@@ -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']

0 comments on commit 2c46df2

Please sign in to comment.