Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/Peeja/cucumber
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Nov 12, 2008
2 parents 2860adf + aab6bae commit 07b4fd2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/autotest/discover.rb
@@ -1,3 +1,9 @@
Autotest.add_discovery do
"cucumber" if ENV['AUTOFEATURE'] == 'true' && File.directory?('features')
if File.directory?('features')
if ENV['AUTOFEATURE'] == 'true'
"cucumber"
else
puts "(Not running features. To run features in autotest, set AUTOFEATURE=true.)"
end
end
end

0 comments on commit 07b4fd2

Please sign in to comment.