updates feature error message to match new expectation of CamelCase

This commit is contained in:
Ben Mabey 2010-05-30 22:57:18 -06:00
parent 0bcd3efcd0
commit 23031933fa
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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