add MongoMapper to NoORMDetected exception message

This commit is contained in:
Ben Mabey 2010-01-22 14:57:34 -07:00
parent f2638f5856
commit 6ef3085bd4

View file

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