diff --git a/Gemfile b/Gemfile index 8eb34ace..1b7b301e 100644 --- a/Gemfile +++ b/Gemfile @@ -82,5 +82,4 @@ end group :test do gem "capybara" gem "selenium-webdriver" - gem "shoulda" end diff --git a/Gemfile.lock b/Gemfile.lock index 2a4c67de..bb8b007c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -378,12 +378,6 @@ GEM rexml (~> 3.2, >= 3.2.5) rubyzip (>= 1.2.2, < 3.0) websocket (~> 1.0) - shoulda (4.0.0) - shoulda-context (~> 2.0) - shoulda-matchers (~> 4.0) - shoulda-context (2.0.0) - shoulda-matchers (4.4.1) - activesupport (>= 4.2.0) sidekiq (7.1.6) concurrent-ruby (< 2) connection_pool (>= 2.3.0) @@ -493,7 +487,6 @@ DEPENDENCIES redis sass-rails selenium-webdriver - shoulda sidekiq sidekiq-cron simple_form diff --git a/test/test_helper.rb b/test/test_helper.rb index aaa0732b..e80dce69 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,7 +1,6 @@ ENV["RAILS_ENV"] ||= "test" require_relative "../config/environment" require "rails/test_help" -require "sidekiq/testing" class ActiveSupport::TestCase # Run tests in parallel with specified workers @@ -12,14 +11,4 @@ class ActiveSupport::TestCase Geocoder.configure(lookup: :test, ip_lookup: :test) Geocoder::Lookup::Test.reset - - Shoulda::Matchers.configure do |config| - config.integrate do |with| - with.test_framework :minitest - with.library :rails - end - end - - # Run Sidekiq jobs immediately (useful for testing `deliver_later` Mailers) - Sidekiq::Testing.inline! end