mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Using local gems should be enough for testing (#1504)
This commit is contained in:
parent
b2848b2ca7
commit
b15a0f9018
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ module AcceptanceTests
|
||||||
|
|
||||||
def add_rspec_rails_to_project!
|
def add_rspec_rails_to_project!
|
||||||
add_gem 'rspec-rails', rspec_rails_version
|
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')
|
run_command_within_bundle!('rails g rspec:install')
|
||||||
remove_from_file '.rspec', '--warnings'
|
remove_from_file '.rspec', '--warnings'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue