diff --git a/examples/features/support/env.rb b/examples/features/support/env.rb index 4f766d8..632a344 100644 --- a/examples/features/support/env.rb +++ b/examples/features/support/env.rb @@ -57,5 +57,5 @@ if orm && strategy end else - raise "Run 'ORM=activerecord|datamapper|mongomapper|couchpotato [ANOTHER_ORM=activerecord|datamapper|mongomapper|couchpotato] [MULTIPLE_DBS=true] STRATEGY=transaction|truncation cucumber examples/features'" + raise "Run 'ORM=ActiveRecord|DataMapper|MongoMapper|CouchPotato [ANOTHER_ORM=...] [MULTIPLE_DBS=true] STRATEGY=transaction|truncation cucumber examples/features'" end diff --git a/features/support/feature_runner.rb b/features/support/feature_runner.rb index f85c414..120f22f 100644 --- a/features/support/feature_runner.rb +++ b/features/support/feature_runner.rb @@ -14,8 +14,8 @@ class FeatureRunner full_dir ||= File.expand_path(File.dirname(__FILE__) + "/../../examples/") Dir.chdir(full_dir) do - ENV['ORM'] = orm#.downcase - ENV['ANOTHER_ORM'] = another_orm if another_orm#.downcase if another_orm + ENV['ORM'] = orm + ENV['ANOTHER_ORM'] = another_orm if another_orm ENV['MULTIPLE_DBS'] = "true" if multiple_databases ENV['STRATEGY'] = strategy