lib/generators/cucumber/skeleton/templates/tasks/cucumber.rake.erb in cucumber_rails3_gen-0.1.1 vs lib/generators/cucumber/skeleton/templates/tasks/cucumber.rake.erb in cucumber_rails3_gen-0.1.2
- old
+ new
@@ -1,5 +1,5 @@
-<%= Cucumber::Helper.embed_file('support/edit_warning.txt') %>
+<%= embed_file('support/edit_warning.txt') %>
unless ARGV.any? {|a| a =~ /^gems/} # Don't load anything when running the gems:* tasks
vendored_cucumber_bin = Dir["#{RAILS_ROOT}/vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
$LOAD_PATH.unshift(File.dirname(vendored_cucumber_bin) + '/../lib') unless vendored_cucumber_bin.nil?