1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Restore forlorn Mongoid generator tests

This commit is contained in:
Ches Martin 2011-08-05 02:40:42 +07:00
parent 55af9f8a40
commit 6bc93173f1

View file

@ -1,7 +1,7 @@
require "test_helper"
if DEVISE_ORM == :mongo_id
require "generators/mongo_id/devise_generator"
if DEVISE_ORM == :mongoid
require "generators/mongoid/devise_generator"
class MongoidGeneratorTest < Rails::Generators::TestCase
tests Mongoid::Generators::DeviseGenerator
@ -19,4 +19,5 @@ if DEVISE_ORM == :mongo_id
assert_no_file "app/models/monster.rb"
end
end
end
end