mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix failing app generator test when using the --dev option
This commit is contained in:
parent
caad6c634c
commit
cfe0fcae06
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue