Permalink
Browse files

Fix task for running tests.

  • Loading branch information...
1 parent b7f02f0 commit 87adbaa54130c91b7cb518dc839bd799e7ccf321 @dra1n dra1n committed with chuckg Sep 12, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 Rakefile
View
@@ -17,7 +17,11 @@ desc 'Test the rails3_acts_as_paranoid plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
- t.pattern = 'test/**/test_*.rb'
+
+ test_files = FileList['test/**/test_*.rb']
+ test_files.exclude('test/test_helper.rb')
+ t.test_files = test_files
+
t.verbose = true
end

0 comments on commit 87adbaa

Please sign in to comment.