aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-11-29 09:16:06 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-11-29 09:16:06 -0800
commit31c20a244b7e9a284d45d7aaa56f6e5277810418 (patch)
tree44fe0f78f07122ee62399d74fcc4296bb140beb2
parentd4294fe95294672a5e98e1db3d0984078f7aff70 (diff)
parent3338f7060839301b24c41bcb6fd7e2894a88e1d6 (diff)
downloadrails-31c20a244b7e9a284d45d7aaa56f6e5277810418.tar.gz
rails-31c20a244b7e9a284d45d7aaa56f6e5277810418.tar.bz2
rails-31c20a244b7e9a284d45d7aaa56f6e5277810418.zip
Merge pull request #13105 from arunagw/jruby-gen-test-fix
Fixes failing test for JRuby
-rw-r--r--railties/test/generators/app_generator_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb
index 73b54c2cb6..f89ff66e3e 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -113,6 +113,9 @@ class AppGeneratorTest < Rails::Generators::TestCase
FileUtils.mv(app_root, app_moved_root)
+ # make sure we are in correct dir
+ FileUtils.cd(app_moved_root)
+
generator = Rails::Generators::AppGenerator.new ["rails"], { with_dispatchers: true },
destination_root: app_moved_root, shell: @shell
generator.send(:app_const)