Skip to content

Commit

Permalink
Fix rake task to run specs
Browse files Browse the repository at this point in the history
  • Loading branch information
Josep M. Bach committed Jun 12, 2012
1 parent eef729e commit e599f09
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Rakefile
@@ -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
Expand All @@ -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.