diff --git a/Gemfile b/Gemfile index da436e0d1..de6025a92 100644 --- a/Gemfile +++ b/Gemfile @@ -100,7 +100,7 @@ end group :test do gem 'database_cleaner' gem 'rails-controller-testing' - gem 'shoulda-matchers', '~> 5.3.0' + gem 'shoulda-matchers', '~> 6.0' gem 'simplecov', '~> 0.17.0' end diff --git a/Gemfile.lock b/Gemfile.lock index 94fb49b65..3425284ad 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -538,7 +538,7 @@ GEM semantic_range (3.0.0) sentry-ruby (5.9.0) concurrent-ruby (~> 1.0, >= 1.0.2) - shoulda-matchers (5.3.0) + shoulda-matchers (6.4.0) activesupport (>= 5.2.0) sidekiq (6.5.10) connection_pool (>= 2.2.5, < 3) @@ -686,7 +686,7 @@ DEPENDENCIES sdoc (= 1.0.0) selenium-webdriver (~> 4.22.0) sentry-ruby - shoulda-matchers (~> 5.3.0) + shoulda-matchers (~> 6.0) sidekiq (= 6.5.10) sidekiq-cron (~> 1.1) sidekiq-failures diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 06541aba5..c47acfec8 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -11,6 +11,8 @@ require 'rspec/collection_matchers' require 'capybara/rails' require 'capybara/rspec' +require 'shoulda/matchers' +require 'database_cleaner' include Warden::Test::Helpers Warden.test_mode!