Permalink
Browse files

Fix rake task to run specs

  • Loading branch information...
1 parent eef729e commit e599f093cfc7ba1f59055bfe91569fdf9a4b29c1 @txus committed Jun 12, 2012
Showing with 5 additions and 7 deletions.
  1. +5 −7 Rakefile
View
@@ -1,10 +1,9 @@
require 'rake'
-require 'rake/testtask'
+require 'rspec/core/rake_task'
-Rake::TestTask.new do |t|
- t.libs << 'lib' << 'test'
- t.pattern = 'test/**/*_test.rb'
- t.verbose = false
+desc 'Run specs'
+RSpec::Core::RakeTask.new do |t|
+ t.pattern = './spec/**/*_spec.rb'
end
task 'travis:worker:config' do
@@ -15,5 +14,4 @@ end
# task 'resque:setup' => 'travis:worker:config'
-task :default => :test
-
+task :default => :spec

0 comments on commit e599f09

Please sign in to comment.