Skip to content

Commit

Permalink
Fixed warning for already defined constant 'Cucumber::Rake::Task::BIN…
Browse files Browse the repository at this point in the history
…ARY'.
  • Loading branch information
ngty committed Nov 3, 2008
1 parent acb7379 commit 833650a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/generators/cucumber/templates/lib/tasks/cucumber.rake
@@ -1,6 +1,9 @@
require 'cucumber/rake/task' require 'cucumber/rake/task'


Cucumber::Rake::Task::BINARY = Merb.root / 'bin' / 'cucumber' unless Cucumber::Rake::Task.const_defined?('BINARY')
Cucumber::Rake::Task::BINARY = Merb.root / 'bin' / 'cucumber'
end

Cucumber::Rake::Task.new(:features) do |t| Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = "--format pretty" t.cucumber_opts = "--format pretty"
end end
Expand Down

0 comments on commit 833650a

Please sign in to comment.