Permalink
Browse files

Restore forlorn Mongoid generator tests

  • Loading branch information...
ches committed Aug 4, 2011
1 parent 55af9f8 commit 6bc93173f1ba78b5756f31b4b1354748d157679a
Showing with 4 additions and 3 deletions.
  1. +4 −3 test/generators/mongoid_generator_test.rb
@@ -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 @@ class MongoidGeneratorTest < Rails::Generators::TestCase
assert_no_file "app/models/monster.rb"
end
end
-end
+end
+

0 comments on commit 6bc9317

Please sign in to comment.