aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-08-06 17:29:19 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-08-06 17:29:19 -0300
commitce1bd47698d63119d8a922620d1ae1c30c9ba2db (patch)
tree4d221dce012e2ef065a479791ca83dfafd438271 /railties/test
parent1b9ecef3588db922dc1b3dc9da66c13265fbd421 (diff)
parent46599260b1361d1ec54c7cc3188b41200fc272b8 (diff)
downloadrails-ce1bd47698d63119d8a922620d1ae1c30c9ba2db.tar.gz
rails-ce1bd47698d63119d8a922620d1ae1c30c9ba2db.tar.bz2
rails-ce1bd47698d63119d8a922620d1ae1c30c9ba2db.zip
Merge pull request #21043 from y-yagi/loading_fixtures_in_engine_integration_tests
set the correct path to `ActionDispatch::IntegrationTest.fixture_path`
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/generators/plugin_generator_test.rb1
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 6f5a815173..1898691806 100644
--- a/railties/test/generators/plugin_generator_test.rb
+++ b/railties/test/generators/plugin_generator_test.rb
@@ -313,6 +313,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase
assert_file "test/test_helper.rb" do |content|
assert_match(/ActiveRecord::Migrator\.migrations_paths.+\.\.\/test\/dummy\/db\/migrate/, content)
assert_match(/ActiveRecord::Migrator\.migrations_paths.+<<.+\.\.\/db\/migrate/, content)
+ assert_match(/ActionDispatch::IntegrationTest\.fixture_path = ActiveSupport::TestCase\.fixture_pat/, content)
end
end