Skip to content

Commit

Permalink
Run integration tests after specs
Browse files Browse the repository at this point in the history
  • Loading branch information
josephwilk committed Jan 7, 2013
1 parent 690f7ca commit 733b8cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/tasks/rspec.rake
@@ -1,11 +1,15 @@
require 'rspec/core/rake_task'

desc 'Default: run specs.'
task :default => :spec
task :default => [:spec, :integration]

desc "Run specs"
RSpec::Core::RakeTask.new

RSpec::Core::RakeTask.new(:integration) do |t|
t.pattern = 'spec_integration/*_spec.rb'
end

desc "Generate code coverage"
RSpec::Core::RakeTask.new(:coverage) do |t|
t.rcov = true
Expand Down

0 comments on commit 733b8cd

Please sign in to comment.