mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
updates feature error message to match new expectation of CamelCase
This commit is contained in:
parent
0bcd3efcd0
commit
23031933fa
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue