Skip to content

Commit

Permalink
Remove unused shoulda / sidekiq in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
northeastprince committed Nov 7, 2023
1 parent b71832c commit 040f4f0
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,4 @@ end
group :test do
gem "capybara"
gem "selenium-webdriver"
gem "shoulda"
end
7 changes: 0 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -493,7 +487,6 @@ DEPENDENCIES
redis
sass-rails
selenium-webdriver
shoulda
sidekiq
sidekiq-cron
simple_form
Expand Down
11 changes: 0 additions & 11 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 040f4f0

Please sign in to comment.