Permalink
Browse files

Require features by default in the generated cucumber.yml

  • Loading branch information...
1 parent 55c9336 commit 2f31fd3027fce4184a1f497a953e816888351ab4 @mariovisic mariovisic committed Jul 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/cucumber/install/templates/config/cucumber.yml.erb
View
2 lib/generators/cucumber/install/templates/config/cucumber.yml.erb
@@ -1,7 +1,7 @@
<%%
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
-std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
+std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags --require features ~@wip"
%>
default: <%= spork? ? '--drb ' : '' %><%%= std_opts %> features
wip: <%= spork? ? '--drb ' : '' %>--tags @wip:3 --wip features

0 comments on commit 2f31fd3

Please sign in to comment.