aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorYehuda Katz <yehudakatz@99-204-89-33.pools.spcsdns.net>2010-02-05 21:30:26 -0800
committerYehuda Katz <yehudakatz@99-204-89-33.pools.spcsdns.net>2010-02-05 21:30:26 -0800
commitb392c818692b39b09836071a30e7a65034e752b5 (patch)
tree999995ddbb941731e967e2fb2299d943ec8e8641 /railties/test
parent59d8a2b4f5ffe97e01c4707278d47c29f1c66741 (diff)
downloadrails-b392c818692b39b09836071a30e7a65034e752b5.tar.gz
rails-b392c818692b39b09836071a30e7a65034e752b5.tar.bz2
rails-b392c818692b39b09836071a30e7a65034e752b5.zip
Fixes test fail
Diffstat (limited to 'railties/test')
-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 9c70dcbc92..54b970c0ab 100644
--- a/railties/test/generators/app_generator_test.rb
+++ b/railties/test/generators/app_generator_test.rb
@@ -158,7 +158,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
generator([destination_root], :dev => true).expects(:run).with("bundle install")
silence(:stdout){ generator.invoke }
rails_path = File.expand_path('../../..', Rails.root)
- dev_gem = %(path #{rails_path.inspect}, :glob => "{*/,}*.gemspec")
+ dev_gem = %(gem "rails", :path => #{rails_path.inspect})
assert_file 'Gemfile', /^#{Regexp.escape(dev_gem)}$/
end