diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-01-07 19:19:10 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-01-07 19:19:10 +0100 |
commit | 199dcaeade6c319a43b507dbc111cb15b78fa52b (patch) | |
tree | e3fabdb2a52847263f16c380e97027f78d929e2f /railties/test/generators | |
parent | 3d2c28e012c4fa53e65860ad262be49defdf5ecc (diff) | |
download | rails-199dcaeade6c319a43b507dbc111cb15b78fa52b.tar.gz rails-199dcaeade6c319a43b507dbc111cb15b78fa52b.tar.bz2 rails-199dcaeade6c319a43b507dbc111cb15b78fa52b.zip |
Fix tests, ./ is not needed for relative entries in Gemfile in newest bundler version
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/plugin_new_generator_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/plugin_new_generator_test.rb b/railties/test/generators/plugin_new_generator_test.rb index 6e70517219..f0164ed667 100644 --- a/railties/test/generators/plugin_new_generator_test.rb +++ b/railties/test/generators/plugin_new_generator_test.rb @@ -271,7 +271,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase run_generator [destination_root] - assert_file gemfile_path, /gem 'bukkits', :path => '.\/tmp\/bukkits'/ + assert_file gemfile_path, /gem 'bukkits', :path => 'tmp\/bukkits'/ ensure Object.send(:remove_const, 'APP_PATH') FileUtils.rm gemfile_path @@ -286,7 +286,7 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase run_generator [destination_root, "--skip-gemfile-entry"] assert_file gemfile_path do |contents| - assert_no_match(/gem 'bukkits', :path => '.\/tmp\/bukkits'/, contents) + assert_no_match(/gem 'bukkits', :path => 'tmp\/bukkits'/, contents) end ensure Object.send(:remove_const, 'APP_PATH') |