1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Generate new applications with the right rails-dom-testing version

This commit is contained in:
Rafael Mendonça França 2014-11-17 16:44:15 -02:00
parent 27a181f751
commit 916731686b

View file

@ -195,9 +195,11 @@ module Rails
def rails_gemfile_entry def rails_gemfile_entry
if options.dev? if options.dev?
[GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH)] [GemfileEntry.path('rails', Rails::Generators::RAILS_DEV_PATH),
GemfileEntry.github('rails-dom-testing', 'rails/rails-dom-testing')]
elsif options.edge? elsif options.edge?
[GemfileEntry.github('rails', 'rails/rails')] [GemfileEntry.github('rails', 'rails/rails'),
GemfileEntry.github('rails-dom-testing', 'rails/rails-dom-testing')]
else else
[GemfileEntry.version('rails', [GemfileEntry.version('rails',
Rails::VERSION::STRING, Rails::VERSION::STRING,