Permalink
Browse files

Be compatible with 0.1.14.

  • Loading branch information...
1 parent f854f90 commit 1eae30b1a316202e0e3aacbd481e889b845b345a @david committed Jan 8, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/generators/cucumber/templates/lib/tasks/cucumber.rake
@@ -1,7 +1,7 @@
require 'cucumber/rake/task'
-cucumber_options = proc do |t|
- t.binary = Merb.root / 'bin' / 'cucumber'
+cucumber_options = lambda do |t|
+ # if you want to pass some custom options to cucumber, pass them here
end
Cucumber::Rake::Task.new(:features, &cucumber_options)

1 comment on commit 1eae30b

tmak commented on 1eae30b Jan 8, 2009

But now it’s not guaranteed that the bundled cucumber gem gets loaded. Right?
I already commited some changes to my cucumber fork to get this feature back and hope that it gets merged back…

Please sign in to comment.