Permalink
Browse files

Fixes test fail

  • Loading branch information...
1 parent 59d8a2b commit b392c818692b39b09836071a30e7a65034e752b5 Yehuda Katz committed Feb 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/app_generator_test.rb
@@ -158,7 +158,7 @@ def test_dev_option
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

0 comments on commit b392c81

Please sign in to comment.