Skip to content

Commit

Permalink
Merge pull request #135 from zendesk/bquorning/remove-minitest-rails-gem
Browse files Browse the repository at this point in the history
Remove minitest-rails
  • Loading branch information
bquorning authored Nov 12, 2024
2 parents 714faba + 9f6f254 commit b80cf07
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 35 deletions.
4 changes: 0 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ GEM
minitest (>= 5.14.0, < 5.25.0)
mini_portile2 (2.8.7)
minitest (5.24.1)
minitest-rails (7.1.1)
minitest (~> 5.20)
railties (>= 7.1.0, < 8.0.0)
mutex_m (0.2.0)
nokogiri (1.16.7)
mini_portile2 (~> 2.8.2)
Expand Down Expand Up @@ -160,7 +157,6 @@ DEPENDENCIES
bundler
forking_test_runner
maxitest
minitest-rails
railties (~> 7.1.0)
rake
single_cov
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ end

desc "Format code"
task :fmt do
sh "rubocop --auto-correct"
sh "rubocop --autocorrect"
end

desc "Bundle all gemfiles [CMD=]"
Expand Down
4 changes: 0 additions & 4 deletions gemfiles/rails5.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.18.1)
minitest-rails (5.0.0)
minitest (~> 5.10)
railties (~> 5.0.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -129,7 +126,6 @@ DEPENDENCIES
bundler
forking_test_runner
maxitest
minitest-rails
railties (~> 5.0.0)
rake
single_cov
Expand Down
4 changes: 0 additions & 4 deletions gemfiles/rails5.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.18.1)
minitest-rails (5.1.0)
minitest (~> 5.10)
railties (~> 5.1.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -129,7 +126,6 @@ DEPENDENCIES
bundler
forking_test_runner
maxitest
minitest-rails
railties (~> 5.1.0)
rake
single_cov
Expand Down
4 changes: 0 additions & 4 deletions gemfiles/rails5.2.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.18.1)
minitest-rails (5.2.0)
minitest (~> 5.10)
railties (~> 5.2.0)
nokogiri (1.15.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -129,7 +126,6 @@ DEPENDENCIES
bundler
forking_test_runner
maxitest
minitest-rails
railties (~> 5.2.0)
rake
single_cov
Expand Down
4 changes: 0 additions & 4 deletions gemfiles/rails6.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.20.0)
minitest-rails (6.0.2)
minitest (~> 5.10)
railties (~> 6.0.0)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -131,7 +128,6 @@ DEPENDENCIES
bundler
forking_test_runner
maxitest
minitest-rails
railties (~> 6.0.0)
rake
single_cov
Expand Down
4 changes: 0 additions & 4 deletions gemfiles/rails6.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.20.0)
minitest-rails (6.1.1)
minitest (~> 5.10)
railties (~> 6.1.0)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -130,7 +127,6 @@ DEPENDENCIES
bundler
forking_test_runner
maxitest
minitest-rails
railties (~> 6.1.0)
rake
single_cov
Expand Down
4 changes: 0 additions & 4 deletions gemfiles/rails7.0.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ GEM
method_source (1.0.0)
mini_portile2 (2.8.5)
minitest (5.20.0)
minitest-rails (7.0.1)
minitest (~> 5.10)
railties (~> 7.0.0)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
Expand Down Expand Up @@ -130,7 +127,6 @@ DEPENDENCIES
bundler
forking_test_runner
maxitest
minitest-rails
railties (~> 7.0.0)
rake
single_cov
Expand Down
4 changes: 0 additions & 4 deletions gemfiles/rails7.1.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ GEM
minitest (>= 5.14.0, < 5.21.0)
mini_portile2 (2.8.5)
minitest (5.20.0)
minitest-rails (7.1.0)
minitest (~> 5.20)
railties (~> 7.1.0)
mutex_m (0.2.0)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
Expand Down Expand Up @@ -162,7 +159,6 @@ DEPENDENCIES
bundler
forking_test_runner
maxitest
minitest-rails
railties (~> 7.1.0)
rake
single_cov
Expand Down
1 change: 0 additions & 1 deletion stronger_parameters.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest-rails"
spec.add_development_dependency "maxitest"
spec.add_development_dependency "bump"
spec.add_development_dependency "single_cov"
Expand Down
5 changes: 4 additions & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ class FakeApplication < Rails::Application; end

require "action_pack"
require "stronger_parameters"
require "minitest/rails"

# Add spec DSL to the TestCase class
# This is all we needed from minitest-rails
ActiveSupport.on_load(:active_support_test_case) { extend Minitest::Spec::DSL }

# Use ActionController::TestCase for Controllers
Minitest::Spec::DSL::TYPES.unshift [/Controller$/, ActionController::TestCase]
Expand Down

0 comments on commit b80cf07

Please sign in to comment.