Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make AUTOFEATURE case insensitive

  • Loading branch information...
commit 0b31d3e50cd401011c6706bfa103d6ee75da0373 1 parent f94faef
@aslakhellesoy aslakhellesoy authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  History.txt
  2. +1 −1  lib/autotest/discover.rb
View
1  History.txt
@@ -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
2  lib/autotest/discover.rb
@@ -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.)"
Please sign in to comment.
Something went wrong with that request. Please try again.