mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
add MongoMapper to NoORMDetected exception message
This commit is contained in:
parent
f2638f5856
commit
6ef3085bd4
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ module DatabaseCleaner
|
||||||
elsif defined? ::MongoMapper
|
elsif defined? ::MongoMapper
|
||||||
'mongo_mapper'
|
'mongo_mapper'
|
||||||
else
|
else
|
||||||
raise NoORMDetected, "No known ORM was detected! Is ActiveRecord or DataMapper loaded?"
|
raise NoORMDetected, "No known ORM was detected! Is ActiveRecord, DataMapper, or MongoMapper loaded?"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue