23 lines
1010 B
Diff
23 lines
1010 B
Diff
|
|
From e0ebc2b16afc09804112a84213fdc83305427d3a Mon Sep 17 00:00:00 2001
|
||
|
|
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
|
||
|
|
Date: Tue, 23 Aug 2022 11:34:29 +0200
|
||
|
|
Subject: [PATCH] Using local gems should be enough for testing
|
||
|
|
|
||
|
|
---
|
||
|
|
spec/support/acceptance/helpers/step_helpers.rb | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/spec/support/acceptance/helpers/step_helpers.rb b/spec/support/acceptance/helpers/step_helpers.rb
|
||
|
|
index 529f97fc3..73a5b3250 100644
|
||
|
|
--- a/spec/support/acceptance/helpers/step_helpers.rb
|
||
|
|
+++ b/spec/support/acceptance/helpers/step_helpers.rb
|
||
|
|
@@ -116,7 +116,7 @@ def add_rspec_to_project
|
||
|
|
|
||
|
|
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
|