Skip to content

Commit

Permalink
Restore forlorn Mongoid generator tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ches committed Aug 4, 2011
1 parent 55af9f8 commit 6bc9317
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 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
Expand All @@ -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.