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:
parent
55af9f8a40
commit
6bc93173f1
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
require "test_helper"
|
require "test_helper"
|
||||||
|
|
||||||
if DEVISE_ORM == :mongo_id
|
if DEVISE_ORM == :mongoid
|
||||||
require "generators/mongo_id/devise_generator"
|
require "generators/mongoid/devise_generator"
|
||||||
|
|
||||||
class MongoidGeneratorTest < Rails::Generators::TestCase
|
class MongoidGeneratorTest < Rails::Generators::TestCase
|
||||||
tests Mongoid::Generators::DeviseGenerator
|
tests Mongoid::Generators::DeviseGenerator
|
||||||
|
@ -20,3 +20,4 @@ if DEVISE_ORM == :mongo_id
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue