Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #13105 from arunagw/jruby-gen-test-fix

Fixes failing test for JRuby
  • Loading branch information...
commit 31c20a244b7e9a284d45d7aaa56f6e5277810418 2 parents d4294fe + 3338f70
@rafaelfranca rafaelfranca authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  railties/test/generators/app_generator_test.rb
View
3  railties/test/generators/app_generator_test.rb
@@ -113,6 +113,9 @@ def test_application_name_is_detected_if_it_exists_and_app_folder_renamed
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)
Please sign in to comment.
Something went wrong with that request. Please try again.