Skip to content

Commit

Permalink
Fixes tests for generators
Browse files Browse the repository at this point in the history
  • Loading branch information
leifcr committed Sep 21, 2012
1 parent 9b75659 commit b192a8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/unit/test_config_generator.rb
@@ -1,9 +1,9 @@
require 'test_helper'
require 'rails/generators'
require 'rails/generators/test_case'
require 'rails/generators/mongo_mapper/model/model_generator'
require 'rails/generators/mongo_mapper/config/config_generator'

class ConfigGeneratorTest < Rails::Generators::TestCase
class ConfigGeneratorTest < ::Rails::Generators::TestCase

destination File.expand_path('../../tmp', File.dirname(__FILE__))
setup :prepare_destination
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_model_generator.rb
Expand Up @@ -3,7 +3,7 @@
require 'rails/generators/test_case'
require 'rails/generators/mongo_mapper/model/model_generator'

class ModelGeneratorTest < Rails::Generators::TestCase
class ModelGeneratorTest < ::Rails::Generators::TestCase

destination File.expand_path('../../tmp', File.dirname(__FILE__))
setup :prepare_destination
Expand Down

0 comments on commit b192a8e

Please sign in to comment.