Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Commit

Permalink
Default rake task runs rspec and cucumber
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Caudill committed Jan 27, 2011
1 parent f46fcba commit 4704247
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -20,4 +20,4 @@ Running the App
Running the Specs
-----------------

rake && cucumber
rake
7 changes: 6 additions & 1 deletion Rakefile
@@ -1,9 +1,14 @@
require 'rspec/core/rake_task'
require 'cucumber/rake/task'

desc "Run specs"
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rspec_opts = %w(-fs --color)
end

task default: :spec
Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = "--format pretty --tags ~@wip"
end

task default: [:spec, :features]

0 comments on commit 4704247

Please sign in to comment.