From 31e164a373d1e4ea5439ede0374b448615c76904 Mon Sep 17 00:00:00 2001 From: Mitsuhiro Shibuya Date: Sun, 28 Jul 2024 14:58:17 +0900 Subject: [PATCH] Fix issues in running specs locally --- Appraisals | 1 + gemfiles/rails_6.0.gemfile | 1 + spec/spec_helper.rb | 1 + 3 files changed, 3 insertions(+) diff --git a/Appraisals b/Appraisals index ad831d9f3..e9418480c 100644 --- a/Appraisals +++ b/Appraisals @@ -2,6 +2,7 @@ appraise 'rails-6.0' do gem 'rails', '~> 6.0.0' + gem 'psych', '~> 3.3' group :test do gem 'cancancan', ['~> 3.0', '< 3.6'] diff --git a/gemfiles/rails_6.0.gemfile b/gemfiles/rails_6.0.gemfile index 4a9d3154c..b1c1dcb11 100644 --- a/gemfiles/rails_6.0.gemfile +++ b/gemfiles/rails_6.0.gemfile @@ -11,6 +11,7 @@ gem "turbo-rails" gem "vite_rails", require: false gem "webpacker", require: false gem "webrick" +gem "psych", "~> 3.3" group :development, :test do gem "pry", ">= 0.9" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b536a5ebb..ba420fbe4 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -68,6 +68,7 @@ config.include Warden::Test::Helpers config.include Capybara::DSL, type: :request + config.include Capybara::RSpecMatchers, type: :request config.verbose_retry = true config.display_try_failure_messages = true