diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-05-31 21:28:51 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-05-31 21:28:51 +0900 |
commit | c861ef283fb94576a4025e4eb8d62808034ab2ee (patch) | |
tree | e9cc5643697ef0022793add73ff0529d5bcff1c4 /railties/test/generators/plugin_generator_test.rb | |
parent | 6a8d91897bae19f5d30f51a2731d9bbf7f41ac2e (diff) | |
download | rails-c861ef283fb94576a4025e4eb8d62808034ab2ee.tar.gz rails-c861ef283fb94576a4025e4eb8d62808034ab2ee.tar.bz2 rails-c861ef283fb94576a4025e4eb8d62808034ab2ee.zip |
add engine's namespace to fixture name
Diffstat (limited to 'railties/test/generators/plugin_generator_test.rb')
-rw-r--r-- | railties/test/generators/plugin_generator_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index 0716783d42..57da8ab268 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -521,6 +521,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase end assert_file "test/controllers/bukkits/users_controller_test.rb" do |contents| + assert_match(/@user = bukkits_users\(:one\)/, contents) assert_match(/@routes = Engine.routes/, contents) end end |