diff options
author | Jeffrey Hardy <jeff@37signals.com> | 2010-01-06 14:22:51 -0500 |
---|---|---|
committer | Jeffrey Hardy <jeff@37signals.com> | 2010-01-06 14:22:51 -0500 |
commit | cfe0fcae0680418f0398c41ca262407bb1aa2a28 (patch) | |
tree | 41809c32cbea9d4a742782bbfb2098c1a74fddc4 /railties/test/generators | |
parent | caad6c634c51714fa83419dfd3bf98fd32ff55cb (diff) | |
download | rails-cfe0fcae0680418f0398c41ca262407bb1aa2a28.tar.gz rails-cfe0fcae0680418f0398c41ca262407bb1aa2a28.tar.bz2 rails-cfe0fcae0680418f0398c41ca262407bb1aa2a28.zip |
Fix failing app generator test when using the --dev option
Diffstat (limited to 'railties/test/generators')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 7dd798db75..27537f39b2 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -164,7 +164,7 @@ class AppGeneratorTest < GeneratorsTestCase def test_dev_option run_generator [destination_root, "--dev"] rails_path = File.expand_path('../../..', Rails.root) - dev_gem = %(gem "rails", :path => #{rails_path.inspect}) + dev_gem = %(directory #{rails_path.inspect}, :glob => "{*/,}*.gemspec") assert_file 'Gemfile', /^#{Regexp.escape(dev_gem)}$/ end |