aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Hardy <jeff@37signals.com>2010-01-06 14:22:51 -0500
committerJeffrey Hardy <jeff@37signals.com>2010-01-06 14:22:51 -0500
commitcfe0fcae0680418f0398c41ca262407bb1aa2a28 (patch)
tree41809c32cbea9d4a742782bbfb2098c1a74fddc4
parentcaad6c634c51714fa83419dfd3bf98fd32ff55cb (diff)
downloadrails-cfe0fcae0680418f0398c41ca262407bb1aa2a28.tar.gz
rails-cfe0fcae0680418f0398c41ca262407bb1aa2a28.tar.bz2
rails-cfe0fcae0680418f0398c41ca262407bb1aa2a28.zip
Fix failing app generator test when using the --dev option
-rw-r--r--railties/test/generators/app_generator_test.rb2
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