Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add rake task to re-run the last cuke.

  • Loading branch information...
commit 8cefe969e718c894864ddad9daf8e1eb456fd01a 1 parent 5d4078e
@myronmarston authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 Rakefile
View
11 Rakefile
@@ -136,3 +136,14 @@ task :migrate_cucumber_cassettes do
end
end
+desc "Run the last cuke directly"
+task :run_last_cuke do
+ command = ENV.fetch('CMD') do
+ raise "Must pass CMD"
+ end
+
+ Dir.chdir("tmp/aruba") do
+ sh "RUBYOPT='-I.:../../lib -r../../features/support/vcr_cucumber_helpers' ruby #{command}"
+ end
+end
+
Please sign in to comment.
Something went wrong with that request. Please try again.