Using local gems should be enough for testing (#1504)

This commit is contained in:
Vít Ondruch 2022-08-25 16:07:57 +02:00 committed by GitHub
parent b2848b2ca7
commit b15a0f9018
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ module AcceptanceTests
def add_rspec_rails_to_project!
add_gem 'rspec-rails', rspec_rails_version
run_command_within_bundle!('bundle install --binstubs') if rails_gt_6_0?
run_command_within_bundle!('bundle install --local --binstubs') if rails_gt_6_0?
run_command_within_bundle!('rails g rspec:install')
remove_from_file '.rspec', '--warnings'
end