mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Do not check the version anymore
Our logic is complex now and we don't need to check the version to asset the behavior so I'm removing the checking here.
This commit is contained in:
parent
b7660e0660
commit
840b3dd9b2
1 changed files with 2 additions and 2 deletions
|
@ -470,7 +470,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase
|
|||
assert_no_file "bukkits.gemspec"
|
||||
assert_file "Gemfile" do |contents|
|
||||
assert_no_match('gemspec', contents)
|
||||
assert_match(/gem 'rails', '~> #{Rails.version}'/, contents)
|
||||
assert_match(/gem 'rails'/, contents)
|
||||
assert_match_sqlite3(contents)
|
||||
assert_no_match(/# gem "jquery-rails"/, contents)
|
||||
end
|
||||
|
@ -481,7 +481,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase
|
|||
assert_no_file "bukkits.gemspec"
|
||||
assert_file "Gemfile" do |contents|
|
||||
assert_no_match('gemspec', contents)
|
||||
assert_match(/gem 'rails', '~> #{Rails.version}'/, contents)
|
||||
assert_match(/gem 'rails'/, contents)
|
||||
assert_match_sqlite3(contents)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue