diff options
author | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-06-28 17:03:18 +0200 |
---|---|---|
committer | Joachim Filip Ignacy Bartosik <jbartosik@gmail.com> | 2010-06-28 21:02:20 +0200 |
commit | a7962b5ecf70fc0805e64657d150bdb9e80689ae (patch) | |
tree | 010e0a2f89961ec857057a9f206fc401ab778264 /lib | |
parent | Link on homepage to listing of recruits with all questions answered (diff) | |
download | recruiting-webapp-a7962b5ecf70fc0805e64657d150bdb9e80689ae.tar.gz recruiting-webapp-a7962b5ecf70fc0805e64657d150bdb9e80689ae.tar.bz2 recruiting-webapp-a7962b5ecf70fc0805e64657d150bdb9e80689ae.zip |
Improved rake tasks
'rake cucumber' will generate taglibs before running tests (tests fail if
taglibs are outdated), 'rake' will run spec and cucumber tests.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/cucumber.rake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/tasks/cucumber.rake b/lib/tasks/cucumber.rake index 7db1a55..9ff9b5a 100644 --- a/lib/tasks/cucumber.rake +++ b/lib/tasks/cucumber.rake @@ -14,19 +14,19 @@ begin require 'cucumber/rake/task' namespace :cucumber do - Cucumber::Rake::Task.new({:ok => 'db:test:prepare'}, 'Run features that should pass') do |t| + Cucumber::Rake::Task.new({:ok => ['db:test:prepare', 'hobo:generate_taglibs']}, 'Run features that should pass') do |t| t.binary = vendored_cucumber_bin # If nil, the gem's binary is used. t.fork = true # You may get faster startup if you set this to false t.profile = 'default' end - Cucumber::Rake::Task.new({:wip => 'db:test:prepare'}, 'Run features that are being worked on') do |t| + Cucumber::Rake::Task.new({:wip => ['db:test:prepare', 'hobo:generate_taglibs']}, 'Run features that are being worked on') do |t| t.binary = vendored_cucumber_bin t.fork = true # You may get faster startup if you set this to false t.profile = 'wip' end - Cucumber::Rake::Task.new({:rerun => 'db:test:prepare'}, 'Record failing features and run only them if any exist') do |t| + Cucumber::Rake::Task.new({:rerun => ['db:test:prepare', 'hobo:generate_taglibs']}, 'Record failing features and run only them if any exist') do |t| t.binary = vendored_cucumber_bin t.fork = true # You may get faster startup if you set this to false t.profile = 'rerun' |