Permalink
Browse files

Make AUTOFEATURE case insensitive

  • Loading branch information...
1 parent f94faef commit 0b31d3e50cd401011c6706bfa103d6ee75da0373 @aslakhellesoy aslakhellesoy committed Nov 20, 2008
Showing with 2 additions and 1 deletion.
  1. +1 −0 History.txt
  2. +1 −1 lib/autotest/discover.rb
View
@@ -10,6 +10,7 @@ You can now run multiple features at specific lines numbers like this:
This will run foo.feature at line 15 and bar.feature at line 6, 45 and 111.
=== New features
+* AUTOFEATURE=tRue works (case insensitive) (Aslak Hellesøy)
* Support for .NET via IronRuby. See examples for details. (Aslak Hellesøy)
* Lithuanian translation (sauliusgrigaitis)
* New webrat step defintions to wrap the new selects_time, selects_date, and selects_datetime methods. (Ben Mabey)
View
@@ -1,6 +1,6 @@
Autotest.add_discovery do
if File.directory?('features')
- if ENV['AUTOFEATURE'] == 'true'
+ if ENV['AUTOFEATURE'] =~ /true/i
"cucumber"
else
puts "(Not running features. To run features in autotest, set AUTOFEATURE=true.)"

0 comments on commit 0b31d3e

Please sign in to comment.