minitest-rails 7.0.1 → 7.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +2 -2
  3. data/README.md +9 -2
  4. data/lib/generators/minitest/controller/controller_generator.rb +2 -0
  5. data/lib/generators/minitest/controller/templates/functional_spec.rb.tt +2 -2
  6. data/lib/generators/minitest/controller/templates/functional_test.rb.tt +1 -1
  7. data/lib/generators/minitest/generator/generator_generator.rb +4 -2
  8. data/lib/generators/minitest/generator/templates/generator_spec.rb.tt +2 -2
  9. data/lib/generators/minitest/install/templates/test/channels/application_cable/connection_test.rb.tt +10 -8
  10. data/lib/generators/minitest/install/templates/test/test_helper.rb.tt +10 -8
  11. data/lib/generators/minitest/integration/templates/integration_spec.rb.tt +1 -1
  12. data/lib/generators/minitest/integration/templates/integration_test.rb.tt +1 -1
  13. data/lib/generators/minitest/job/templates/unit_spec.rb.tt +1 -1
  14. data/lib/generators/minitest/job/templates/unit_test.rb.tt +1 -1
  15. data/lib/generators/minitest/mailer/templates/functional_test.rb.tt +1 -1
  16. data/lib/generators/minitest/model/templates/unit_test.rb.tt +1 -1
  17. data/lib/generators/minitest/plugin/templates/%file_name%_test.rb.tt +1 -1
  18. data/lib/generators/minitest/scaffold/scaffold_generator.rb +9 -4
  19. data/lib/generators/minitest/scaffold/templates/api_functional_spec.rb.tt +3 -3
  20. data/lib/generators/minitest/scaffold/templates/api_functional_test.rb.tt +3 -3
  21. data/lib/generators/minitest/scaffold/templates/functional_spec.rb.tt +5 -5
  22. data/lib/generators/minitest/scaffold/templates/functional_test.rb.tt +5 -5
  23. data/lib/generators/minitest/scaffold/templates/system_spec.rb.tt +10 -12
  24. data/lib/generators/minitest/scaffold/templates/system_test.rb.tt +6 -8
  25. data/lib/minitest/rails/assertions/action_cable.rb +10 -10
  26. data/lib/minitest/rails/assertions/action_mailer.rb +5 -5
  27. data/lib/minitest/rails/assertions/active_job.rb +5 -0
  28. data/lib/minitest/rails/assertions/active_support.rb +4 -4
  29. data/lib/minitest/rails/expectations/action_cable.rb +7 -7
  30. data/lib/minitest/rails/expectations/action_mailer.rb +5 -5
  31. data/lib/minitest/rails/expectations/active_job.rb +4 -0
  32. data/lib/minitest/rails/expectations/active_support.rb +4 -4
  33. data/lib/minitest/rails/version.rb +1 -1
  34. data/lib/minitest/rails.rb +11 -9
  35. metadata +12 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebecfdc65efcde68695a051d6237d7e6ce9b926eb7ac75ba2a0e0b890ed4d7b5
4
- data.tar.gz: d2945a8d35b0e94de088cc6f93e4c3ce66df683cb4496ec532564a8b88aab999
3
+ metadata.gz: 12dd18b8d1565450f168529368e96087db538ed383b72d0f246c6c6303587cd5
4
+ data.tar.gz: b1887d75856ca2908921d78060b0eb08a7b822d4c848ee9b86b07b82e34d08f2
5
5
  SHA512:
6
- metadata.gz: 0414eacafdb264a32b8f45b394d13146978587dd063b8bcfb499a37ee760b560afe6c3f1e1e73785643069120548642a2c6c5d229743948b81643865f6d22744
7
- data.tar.gz: 854a69aac08cbfd8a2f34d6f352507c29ec4dcfe95f37472ec3cd978aa50974421bdeca7fe2eaeb83065dc8167cf25a50c1b43a7eefa458f0e2ebefc72dd61b6
6
+ metadata.gz: cb9f831b0073ce58154763cf71b9f2f2ea60be3b150395ab13ad3ce1230424b2facd00e4e165c6505f41dae738190846d257feed1838608a374383ed13971ea0
7
+ data.tar.gz: ae95f363639484e1669464fc46fafd690d76cfb4db18274c72c609f5eaae4b7d63e828ec7a2519bb10be988626b9ea1365410a86e54918e770a7a3b5fec3aea9
data/CHANGELOG.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Changes
2
2
 
3
- ### 7.0.1 / 2022-10-26
3
+ ### 7.1.0 / 2023-10-26
4
4
 
5
- Fix System test templates. (@bobmazanec)
5
+ Support Rails 7.1.
6
6
 
7
7
  ### 7.0.0 / 2022-04-25
8
8
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # minitest-rails
2
2
 
3
- Minitest integration for Rails 7.0
3
+ Minitest integration for Rails 7.1
4
4
 
5
5
  [![CI](https://github.com/blowmage/minitest-rails/actions/workflows/ci.yml/badge.svg)](https://github.com/blowmage/minitest-rails/actions/workflows/ci.yml)
6
6
  [![Code Climate](https://codeclimate.com/github/blowmage/minitest-rails.png)](https://codeclimate.com/github/blowmage/minitest-rails)
@@ -22,9 +22,16 @@ Create a new rails app:
22
22
  ### Choosing a version
23
23
 
24
24
  This gem follows the versioning of Rails.
25
- If you are running Rails 7.0, specify the corresponding 7.0 release in the Gemfile.
25
+ If you are running Rails 7.1, specify the corresponding 7.1 release in the Gemfile.
26
26
  For example:
27
27
 
28
+ ```ruby
29
+ gem "minitest-rails", "~> 7.1.0"
30
+ ```
31
+
32
+ If you are running Rails 7.0, specify the corresponding 7.0 release in the Gemfile.
33
+ For example, if you are using Rails 6.1 you will specify:
34
+
28
35
  ```ruby
29
36
  gem "minitest-rails", "~> 7.0.0"
30
37
  ```
@@ -6,6 +6,8 @@ module Minitest # :nodoc:
6
6
  module Generators # :nodoc:
7
7
  class ControllerGenerator < Base # :nodoc:
8
8
  argument :actions, type: :array, default: [], banner: "action action"
9
+ class_option :skip_routes, type: :boolean
10
+
9
11
  check_class_collision suffix: "ControllerTest"
10
12
 
11
13
  def create_test_files
@@ -12,11 +12,11 @@ describe <%= class_name %>Controller do
12
12
  # end
13
13
  <% else -%>
14
14
  <% actions.each do |action| -%>
15
- it "must get <%= action %>" do
15
+ it "gets <%= action %>" do
16
16
  get <%= url_helper_prefix %>_<%= action %>_url
17
17
  must_respond_with :success
18
18
  end
19
-
19
+ <%= "\n" unless action == actions.last -%>
20
20
  <% end -%>
21
21
  <% end -%>
22
22
  end
@@ -16,7 +16,7 @@ class <%= class_name %>ControllerTest < ActionDispatch::IntegrationTest
16
16
  get <%= url_helper_prefix %>_<%= action %>_url
17
17
  assert_response :success
18
18
  end
19
-
19
+ <%= "\n" unless action == actions.last -%>
20
20
  <% end -%>
21
21
  <% end -%>
22
22
  end
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "generators/minitest"
2
4
 
3
- module Minitest
4
- module Generators
5
+ module Minitest # :nodoc:
6
+ module Generators # :nodoc:
5
7
  class GeneratorGenerator < Base # :nodoc:
6
8
  check_class_collision suffix: "GeneratorTest"
7
9
 
@@ -2,8 +2,8 @@ require "test_helper"
2
2
  require "<%= generator_path %>"
3
3
 
4
4
  <% module_namespacing do -%>
5
- describe <%= class_name %>Generator do
6
- #tests <%= class_name %>Generator
5
+ describe <%= class_name %>Generator, :generator do
6
+ tests <%= class_name %>Generator
7
7
  destination Rails.root.join("tmp/generators")
8
8
  setup :prepare_destination
9
9
 
@@ -11,13 +11,15 @@ describe "ApplicationCable Connection", :connection do
11
11
  # end
12
12
  end
13
13
  <%- else -%>
14
- class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
15
- # def test_connects_with_cookies
16
- # cookies.signed[:user_id] = 42
17
- #
18
- # connect
19
- #
20
- # assert_equal connection.user_id, "42"
21
- # end
14
+ module ApplicationCable
15
+ class ConnectionTest < ActionCable::Connection::TestCase
16
+ # test "connects with cookies" do
17
+ # cookies.signed[:user_id] = 42
18
+ #
19
+ # connect
20
+ #
21
+ # assert_equal connection.user_id, "42"
22
+ # end
23
+ end
22
24
  end
23
25
  <%- end -%>
@@ -5,18 +5,20 @@ require_relative "../config/environment"
5
5
  require "rails/test_help"
6
6
  require "minitest/rails"
7
7
 
8
- class ActiveSupport::TestCase
9
- # Run tests in parallel with specified workers
10
- <% if defined?(JRUBY_VERSION) || Gem.win_platform? -%>
11
- parallelize(workers: :number_of_processors, with: :threads)
8
+ module ActiveSupport
9
+ class TestCase
10
+ # Run tests in parallel with specified workers
11
+ <% if Process.respond_to?(:fork) && !Gem.win_platform? -%>
12
+ parallelize(workers: :number_of_processors)
12
13
  <%- else -%>
13
- parallelize(workers: :number_of_processors)
14
+ parallelize(workers: :number_of_processors, with: :threads)
14
15
  <% end -%>
15
16
 
16
17
  <% unless options[:skip_active_record] -%>
17
- # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
18
- fixtures :all
18
+ # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
19
+ fixtures :all
19
20
 
20
21
  <% end -%>
21
- # Add more helper methods to be used by all tests here...
22
+ # Add more helper methods to be used by all tests here...
23
+ end
22
24
  end
@@ -1,4 +1,4 @@
1
- require 'test_helper'
1
+ require "test_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
4
  describe "<%= human_name %>", :integration do
@@ -1,4 +1,4 @@
1
- require 'test_helper'
1
+ require "test_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
4
  class <%= class_name %>Test < ActionDispatch::IntegrationTest
@@ -1,4 +1,4 @@
1
- require 'test_helper'
1
+ require "test_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
4
  describe <%= class_name %>Job do
@@ -1,4 +1,4 @@
1
- require 'test_helper'
1
+ require "test_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
4
  class <%= class_name %>JobTest < ActiveJob::TestCase
@@ -1,4 +1,4 @@
1
- require 'test_helper'
1
+ require "test_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
4
  class <%= class_name %>MailerTest < ActionMailer::TestCase
@@ -1,4 +1,4 @@
1
- require 'test_helper'
1
+ require "test_helper"
2
2
 
3
3
  <% module_namespacing do -%>
4
4
  class <%= class_name %>Test < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
1
- require 'test_helper'
1
+ require "test_helper"
2
2
 
3
3
  <%- if options[:spec] -%>
4
4
  describe <%= class_name %> do
@@ -11,7 +11,7 @@ module Minitest # :nodoc:
11
11
  check_class_collision suffix: "ControllerTest"
12
12
 
13
13
  class_option :api, type: :boolean,
14
- desc: "Generates API functional tests"
14
+ desc: "Generate API functional tests"
15
15
 
16
16
  class_option :system_tests, type: :string,
17
17
  desc: "Skip system test files"
@@ -46,10 +46,10 @@ module Minitest # :nodoc:
46
46
  def attributes_hash
47
47
  return {} if attributes_names.empty?
48
48
 
49
- attributes_names.map do |name|
49
+ attributes_names.filter_map do |name|
50
50
  if %w[password password_confirmation].include?(name) && attributes.any?(&:password_digest?)
51
- [name.to_s, "'secret'"]
52
- else
51
+ [name.to_s, '"secret"']
52
+ elsif !virtual?(name)
53
53
  [name.to_s, "@#{singular_table_name}.#{name}"]
54
54
  end
55
55
  end.sort.to_h
@@ -59,6 +59,11 @@ module Minitest # :nodoc:
59
59
  attribute = attributes.find { |attr| attr.name == name }
60
60
  attribute&.type == :boolean
61
61
  end
62
+
63
+ def virtual? name
64
+ attribute = attributes.find { |attr| attr.name == name }
65
+ attribute&.virtual?
66
+ end
62
67
  end
63
68
  end
64
69
  end
@@ -18,7 +18,7 @@ describe <%= controller_class_name %>Controller do
18
18
  post <%= index_helper %>_url, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }, as: :json
19
19
  end.must_differ "<%= class_name %>.count"
20
20
 
21
- must_respond_with 201
21
+ must_respond_with :created
22
22
  end
23
23
 
24
24
  it "should show <%= singular_table_name %>" do
@@ -28,7 +28,7 @@ describe <%= controller_class_name %>Controller do
28
28
 
29
29
  it "should update <%= singular_table_name %>" do
30
30
  patch <%= show_helper %>, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }, as: :json
31
- must_respond_with 200
31
+ must_respond_with :success
32
32
  end
33
33
 
34
34
  it "should destroy <%= singular_table_name %>" do
@@ -36,7 +36,7 @@ describe <%= controller_class_name %>Controller do
36
36
  delete <%= show_helper %>, as: :json
37
37
  end.must_differ "<%= class_name %>.count", -1
38
38
 
39
- must_respond_with 204
39
+ must_respond_with :no_content
40
40
  end
41
41
  end
42
42
  <% end -%>
@@ -20,7 +20,7 @@ class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTe
20
20
  post <%= index_helper %>_url, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }, as: :json
21
21
  end
22
22
 
23
- assert_response 201
23
+ assert_response :created
24
24
  end
25
25
 
26
26
  def test_show_<%= singular_table_name %>
@@ -30,7 +30,7 @@ class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTe
30
30
 
31
31
  def test_update_<%= singular_table_name %>
32
32
  patch <%= show_helper %>, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }, as: :json
33
- assert_response 200
33
+ assert_response :success
34
34
  end
35
35
 
36
36
  def test_destroy_<%= singular_table_name %>
@@ -38,7 +38,7 @@ class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTe
38
38
  delete <%= show_helper %>, as: :json
39
39
  end
40
40
 
41
- assert_response 204
41
+ assert_response :no_content
42
42
  end
43
43
  end
44
44
  <% end -%>
@@ -9,7 +9,7 @@ describe <%= controller_class_name %>Controller do
9
9
  let(:<%= singular_table_name %>) { <%= fixture_name %>(:one) }
10
10
 
11
11
  it "should get index" do
12
- get <%= index_helper %>_url
12
+ get <%= index_helper(type: :url) %>
13
13
  must_respond_with :success
14
14
  end
15
15
 
@@ -20,10 +20,10 @@ describe <%= controller_class_name %>Controller do
20
20
 
21
21
  it "should create <%= singular_table_name %>" do
22
22
  assert_difference("<%= class_name %>.count") do
23
- post <%= index_helper %>_url, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }
23
+ post <%= index_helper(type: :url) %>, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }
24
24
  end
25
25
 
26
- must_redirect_to <%= singular_table_name %>_url(<%= class_name %>.last)
26
+ must_redirect_to <%= show_helper("#{class_name}.last") %>
27
27
  end
28
28
 
29
29
  it "should show <%= singular_table_name %>" do
@@ -38,7 +38,7 @@ describe <%= controller_class_name %>Controller do
38
38
 
39
39
  it "should update <%= singular_table_name %>" do
40
40
  patch <%= show_helper %>, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }
41
- must_redirect_to <%= singular_table_name %>_url(<%= "#{singular_table_name}" %>)
41
+ must_redirect_to <%= show_helper %>
42
42
  end
43
43
 
44
44
  it "should destroy <%= singular_table_name %>" do
@@ -46,7 +46,7 @@ describe <%= controller_class_name %>Controller do
46
46
  delete <%= show_helper %>
47
47
  end
48
48
 
49
- must_redirect_to <%= index_helper %>_url
49
+ must_redirect_to <%= index_helper(type: :url) %>
50
50
  end
51
51
  end
52
52
  <% end -%>
@@ -11,7 +11,7 @@ class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTe
11
11
  end
12
12
 
13
13
  def test_get_index
14
- get <%= index_helper %>_url
14
+ get <%= index_helper(type: :url) %>
15
15
  assert_response :success
16
16
  end
17
17
 
@@ -22,10 +22,10 @@ class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTe
22
22
 
23
23
  def test_create_<%= singular_table_name %>
24
24
  assert_difference("<%= class_name %>.count") do
25
- post <%= index_helper %>_url, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }
25
+ post <%= index_helper(type: :url) %>, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }
26
26
  end
27
27
 
28
- assert_redirected_to <%= singular_table_name %>_url(<%= class_name %>.last)
28
+ assert_redirected_to <%= show_helper("#{class_name}.last") %>
29
29
  end
30
30
 
31
31
  def test_show_<%= singular_table_name %>
@@ -40,7 +40,7 @@ class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTe
40
40
 
41
41
  def test_update_<%= singular_table_name %>
42
42
  patch <%= show_helper %>, params: { <%= "#{singular_table_name}: { #{attributes_string} }" %> }
43
- assert_redirected_to <%= singular_table_name %>_url(<%= "@#{singular_table_name}" %>)
43
+ assert_redirected_to <%= show_helper %>
44
44
  end
45
45
 
46
46
  def test_destroy_<%= singular_table_name %>
@@ -48,7 +48,7 @@ class <%= controller_class_name %>ControllerTest < ActionDispatch::IntegrationTe
48
48
  delete <%= show_helper %>
49
49
  end
50
50
 
51
- assert_redirected_to <%= index_helper %>_url
51
+ assert_redirected_to <%= index_helper(type: :url) %>
52
52
  end
53
53
  end
54
54
  <% end -%>
@@ -4,14 +4,14 @@ require "application_system_test_case"
4
4
  describe "<%= class_name.pluralize %>", :system do
5
5
  let(:<%= singular_table_name %>) { <%= fixture_name %>(:one) }
6
6
 
7
- it "visiting the index" do
7
+ it "visits the index" do
8
8
  visit <%= plural_table_name %>_url
9
- assert_selector "h1", text: "<%= class_name.pluralize.titleize %>"
9
+ assert_selector "h1", text: "<%= human_name.pluralize %>"
10
10
  end
11
11
 
12
- it "creating a <%= human_name %>" do
12
+ it "creates a <%= human_name %>" do
13
13
  visit <%= plural_table_name %>_url
14
- click_on "New <%= class_name.titleize %>"
14
+ click_on "New <%= human_name.downcase %>"
15
15
 
16
16
  <%- attributes_hash.each do |attr, value| -%>
17
17
  <%- if boolean?(attr) -%>
@@ -26,9 +26,9 @@ describe "<%= class_name.pluralize %>", :system do
26
26
  click_on "Back"
27
27
  end
28
28
 
29
- it "updating a <%= human_name %>" do
30
- visit <%= plural_table_name %>_url
31
- click_on "Edit", match: :first
29
+ it "updates a <%= human_name %>" do
30
+ visit <%= singular_table_name %>_url(@<%= singular_table_name %>)
31
+ click_on "Edit this <%= human_name.downcase %>", match: :first
32
32
 
33
33
  <%- attributes_hash.each do |attr, value| -%>
34
34
  <%- if boolean?(attr) -%>
@@ -43,11 +43,9 @@ describe "<%= class_name.pluralize %>", :system do
43
43
  click_on "Back"
44
44
  end
45
45
 
46
- it "destroying a <%= human_name %>" do
47
- visit <%= plural_table_name %>_url
48
- page.accept_confirm do
49
- click_on "Destroy", match: :first
50
- end
46
+ it "destroys a <%= human_name %>" do
47
+ visit <%= singular_table_name %>_url(@<%= singular_table_name %>)
48
+ click_on "Destroy this <%= human_name.downcase %>", match: :first
51
49
 
52
50
  assert_text "<%= human_name %> was successfully destroyed"
53
51
  end
@@ -8,12 +8,12 @@ class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
8
8
 
9
9
  def test_visiting_index
10
10
  visit <%= plural_table_name %>_url
11
- assert_selector "h1", text: "<%= class_name.pluralize.titleize %>"
11
+ assert_selector "h1", text: "<%= human_name.pluralize %>"
12
12
  end
13
13
 
14
14
  def test_creating_<%= human_name %>
15
15
  visit <%= plural_table_name %>_url
16
- click_on "New <%= class_name.titleize %>"
16
+ click_on "New <%= human_name.downcase %>"
17
17
 
18
18
  <%- attributes_hash.each do |attr, value| -%>
19
19
  <%- if boolean?(attr) -%>
@@ -29,8 +29,8 @@ class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
29
29
  end
30
30
 
31
31
  def test_updating_<%= human_name %>
32
- visit <%= plural_table_name %>_url
33
- click_on "Edit", match: :first
32
+ visit <%= singular_table_name %>_url(@<%= singular_table_name %>)
33
+ click_on "Edit this <%= human_name.downcase %>", match: :first
34
34
 
35
35
  <%- attributes_hash.each do |attr, value| -%>
36
36
  <%- if boolean?(attr) -%>
@@ -46,10 +46,8 @@ class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
46
46
  end
47
47
 
48
48
  def test_destroying_<%= human_name %>
49
- visit <%= plural_table_name %>_url
50
- page.accept_confirm do
51
- click_on "Destroy", match: :first
52
- end
49
+ visit <%= singular_table_name %>_url(@<%= singular_table_name %>)
50
+ click_on "Destroy this <%= human_name.downcase %>", match: :first
53
51
 
54
52
  assert_text "<%= human_name %> was successfully destroyed"
55
53
  end
@@ -25,7 +25,7 @@ class ActionCable::TestCase
25
25
  # end
26
26
  #
27
27
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_have_broadcasts
28
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
28
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
29
29
  #
30
30
  # :method: assert_broadcasts
31
31
  # :call-seq: assert_broadcasts(stream, number)
@@ -52,7 +52,7 @@ class ActionCable::TestCase
52
52
  # assert_broadcasts 'messages', 0, &block
53
53
  #
54
54
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#wont_have_broadcasts
55
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
55
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
56
56
  #
57
57
  # :method: refute_broadcasts
58
58
  # :call-seq: refute_broadcasts(stream, &block)
@@ -75,7 +75,7 @@ class ActionCable::TestCase
75
75
  # end
76
76
  #
77
77
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_broadcast_on
78
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
78
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
79
79
  #
80
80
  # :method: assert_broadcast_on
81
81
  # :call-seq: assert_broadcast_on(stream, data)
@@ -108,7 +108,7 @@ class ActionCable::Channel::TestCase
108
108
  # end
109
109
  #
110
110
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_have_broadcasts
111
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
111
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
112
112
  #
113
113
  # :method: assert_broadcasts
114
114
  # :call-seq: assert_broadcasts(stream, number)
@@ -135,7 +135,7 @@ class ActionCable::Channel::TestCase
135
135
  # assert_broadcasts 'messages', 0, &block
136
136
  #
137
137
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#wont_have_broadcasts
138
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
138
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
139
139
  #
140
140
  # :method: refute_broadcasts
141
141
  # :call-seq: refute_broadcasts(stream, &block)
@@ -158,7 +158,7 @@ class ActionCable::Channel::TestCase
158
158
  # end
159
159
  #
160
160
  # See also Minitest::Rails::Expectations::ActionCable::TestHelper#must_broadcast_on
161
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
161
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
162
162
  #
163
163
  # :method: assert_broadcast_on
164
164
  # :call-seq: assert_broadcast_on(stream, data)
@@ -172,7 +172,7 @@ class ActionCable::Channel::TestCase
172
172
  # end
173
173
  #
174
174
  # See also Minitest::Rails::Expectations::ActionCable::Channel#wont_have_streams
175
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
175
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
176
176
  #
177
177
  # :method: refute_streams
178
178
  alias refute_streams assert_no_streams
@@ -186,7 +186,7 @@ class ActionCable::Channel::TestCase
186
186
  # end
187
187
  #
188
188
  # See also Minitest::Rails::Expectations::ActionCable::Channel#must_have_streams
189
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
189
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
190
190
  #
191
191
  # :method: assert_has_stream
192
192
  # :call-seq: assert_has_stream(stream)
@@ -200,7 +200,7 @@ class ActionCable::Channel::TestCase
200
200
  # end
201
201
  #
202
202
  # See also Minitest::Rails::Expectations::ActionCable::Channel#must_have_stream_for
203
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
203
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
204
204
  #
205
205
  # :method: assert_has_stream_for
206
206
  # :call-seq: assert_has_stream_for(object)
@@ -226,7 +226,7 @@ class ActionCable::Connection::TestCase
226
226
  # end
227
227
  #
228
228
  # See also Minitest::Rails::Expectations::ActionCable#must_reject_connection
229
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
229
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
230
230
  #
231
231
  # :method: assert_reject_connection
232
232
  end
@@ -25,7 +25,7 @@ class ActionMailer::TestCase
25
25
  # end
26
26
  #
27
27
  # See also Minitest::Rails::Expectations::ActionMailer#must_have_emails
28
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_emails
28
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_emails
29
29
  #
30
30
  # :method: assert_emails
31
31
  # :call-seq: assert_emails(number, &block)
@@ -51,7 +51,7 @@ class ActionMailer::TestCase
51
51
  # assert_emails 0, &block
52
52
  #
53
53
  # See also Minitest::Rails::Expectations::ActionMailer#wont_have_emails
54
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_no_emails
54
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_emails
55
55
  #
56
56
  # :method: refute_emails
57
57
  # :call-seq: refute_emails(&block)
@@ -84,7 +84,7 @@ class ActionMailer::TestCase
84
84
  # end
85
85
  #
86
86
  # See also Minitest::Rails::Expectations::ActionMailer#must_have_enqueued_emails
87
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_emails
87
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_emails
88
88
  #
89
89
  # :method: assert_enqueued_emails
90
90
  # :call-seq: assert_enqueued_emails(number, &block)
@@ -122,7 +122,7 @@ class ActionMailer::TestCase
122
122
  # end
123
123
  #
124
124
  # See also Minitest::Rails::Expectations::ActionMailer#must_enqueue_email_with
125
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_email_with
125
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_email_with
126
126
  #
127
127
  # :method: assert_enqueued_email_with
128
128
  # :call-seq: assert_enqueued_email_with(mailer, method, args: nil, queue: "mailers", &block)
@@ -145,7 +145,7 @@ class ActionMailer::TestCase
145
145
  # end
146
146
  #
147
147
  # See also Minitest::Rails::Expectations::ActionMailer#wont_have_enqueued_emails
148
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_no_enqueued_emails
148
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_enqueued_emails
149
149
  #
150
150
  # :method: refute_enqueued_emails
151
151
  # :call-seq: refute_enqueued_emails(&block)
@@ -149,3 +149,8 @@ class ActiveJob::TestCase
149
149
  # :method: assert_performed_with
150
150
  # :call-seq: assert_performed_with(args)
151
151
  end
152
+
153
+ module ActiveJob::TestHelper # :nodoc:
154
+ alias refute_enqueued_jobs assert_no_enqueued_jobs # :nodoc:
155
+ alias refute_performed_jobs assert_no_performed_jobs # :nodoc:
156
+ end
@@ -8,7 +8,7 @@ class ActiveSupport::TestCase
8
8
  # end
9
9
  #
10
10
  # See also Minitest::Rails::Expectations::ActiveSupport#must_change
11
- # See https://api.rubyonrails.org/v7.0/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_changes
11
+ # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_changes
12
12
  #
13
13
  # :method: assert_changes
14
14
  # :call-seq: assert_changes(expression, message = nil, from: UNTRACKED, to: UNTRACKED, &block)
@@ -22,7 +22,7 @@ class ActiveSupport::TestCase
22
22
  # end
23
23
  #
24
24
  # See also Minitest::Rails::Expectations::ActiveSupport#wont_change
25
- # See https://api.rubyonrails.org/v7.0/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_changes
25
+ # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_changes
26
26
  #
27
27
  # :args: expression, message = nil, &block
28
28
  alias refute_changes assert_no_changes
@@ -36,7 +36,7 @@ class ActiveSupport::TestCase
36
36
  # end
37
37
  #
38
38
  # See also Minitest::Rails::Expectations::ActiveSupport#must_change
39
- # See https://api.rubyonrails.org/v7.0/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_difference
39
+ # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_difference
40
40
  #
41
41
  # :method: assert_difference
42
42
  # :call-seq: assert_difference(expression, *args, &block)
@@ -50,7 +50,7 @@ class ActiveSupport::TestCase
50
50
  # end
51
51
  #
52
52
  # See also Minitest::Rails::Expectations::ActiveSupport#wont_change
53
- # See https://api.rubyonrails.org/v7.0/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
53
+ # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
54
54
  #
55
55
  # :args: expression, message = nil, &block
56
56
  alias refute_difference assert_no_difference
@@ -31,7 +31,7 @@ module Minitest
31
31
  # end
32
32
  #
33
33
  # See also ActionCable::TestHelper#assert_broadcasts
34
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
34
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcasts
35
35
  #
36
36
  # :method: must_have_broadcasts
37
37
  # :call-seq: must_have_broadcasts(stream, number)
@@ -58,7 +58,7 @@ module Minitest
58
58
  # must_have_broadcasts 'messages', 0, &block
59
59
  #
60
60
  # See also ActionCable::TestHelper#wont_have_broadcasts
61
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
61
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_no_broadcasts
62
62
  #
63
63
  # :method: wont_have_broadcasts
64
64
  # :call-seq: wont_have_broadcasts(stream, &block)
@@ -80,7 +80,7 @@ module Minitest
80
80
  # end
81
81
  #
82
82
  # See also ActionCable::TestHelper#assert_broadcast_on
83
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
83
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/TestHelper.html#method-i-assert_broadcast_on
84
84
  #
85
85
  # :method: must_broadcast_on
86
86
  # :call-seq: must_broadcast_on(stream, data)
@@ -104,7 +104,7 @@ module Minitest
104
104
  # end
105
105
  #
106
106
  # See also ActionCable::Channel::TestCase#assert_no_streams
107
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
107
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_no_streams
108
108
  #
109
109
  # :method: wont_have_streams
110
110
 
@@ -117,7 +117,7 @@ module Minitest
117
117
  # end
118
118
  #
119
119
  # See also ActionCable::Channel::TestCase#assert_has_stream
120
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
120
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream
121
121
  #
122
122
  # :method: must_have_streams
123
123
  # :call-seq: must_have_streams(stream)
@@ -131,7 +131,7 @@ module Minitest
131
131
  # end
132
132
  #
133
133
  # See also ActionCable::Channel::TestCase#assert_has_stream_for
134
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
134
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Channel/TestCase/Behavior.html#method-i-assert_has_stream_for
135
135
  #
136
136
  # :method: must_have_stream_for
137
137
  # :call-seq: must_have_stream_for(object)
@@ -166,7 +166,7 @@ module Minitest
166
166
  # end
167
167
  #
168
168
  # See also ActionCable::Connection::TestCase#assert_reject_connection
169
- # See https://api.rubyonrails.org/v7.0/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
169
+ # See https://api.rubyonrails.org/v7.1/classes/ActionCable/Connection/Assertions.html#method-i-assert_reject_connection
170
170
  #
171
171
  # :method: must_reject_connection
172
172
 
@@ -30,7 +30,7 @@ module Minitest
30
30
  # end
31
31
  #
32
32
  # See also ActionMailer::TestClass#assert_emails
33
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_emails
33
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_emails
34
34
  #
35
35
  # :method: must_have_emails
36
36
  # :call-seq: must_have_emails(number, &block)
@@ -56,7 +56,7 @@ module Minitest
56
56
  # must_have_emails 0, &block
57
57
  #
58
58
  # See also ActionMailer::TestClass#wont_have_emails
59
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_no_emails
59
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_emails
60
60
  #
61
61
  # :method: wont_have_emails
62
62
  # :call-seq: wont_have_emails(&block)
@@ -88,7 +88,7 @@ module Minitest
88
88
  # end
89
89
  #
90
90
  # See also ActionMailer::TestClass#assert_enqueued_emails
91
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_emails
91
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_emails
92
92
  #
93
93
  # :method: must_have_enqueued_emails
94
94
  # :call-seq: must_have_enqueued_emails(number, &block)
@@ -126,7 +126,7 @@ module Minitest
126
126
  # end
127
127
  #
128
128
  # See also ActionMailer::TestClass#assert_enqueued_email_with
129
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_email_with
129
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_enqueued_email_with
130
130
  #
131
131
  # :method: must_enqueue_email_with
132
132
  # :call-seq: must_enqueue_email_with(mailer, method, args: nil, queue: "mailers", &block)
@@ -149,7 +149,7 @@ module Minitest
149
149
  # end
150
150
  #
151
151
  # See also ActionMailer::TestClass#assert_no_enqueued_emails
152
- # See https://api.rubyonrails.org/v7.0/classes/ActionMailer/TestHelper.html#method-i-assert_no_enqueued_emails
152
+ # See https://api.rubyonrails.org/v7.1/classes/ActionMailer/TestHelper.html#method-i-assert_no_enqueued_emails
153
153
  #
154
154
  # :method: wont_have_enqueued_emails
155
155
  # :call-seq: wont_have_enqueued_emails(&block)
@@ -176,6 +176,10 @@ module Minitest
176
176
  end
177
177
 
178
178
  unless ENV["MT_NO_EXPECTATIONS"]
179
+ class ActionDispatch::IntegrationTest # :nodoc:
180
+ include Minitest::Rails::Expectations::ActiveJob
181
+ end
182
+
179
183
  class ActiveJob::TestCase # :nodoc:
180
184
  include Minitest::Rails::Expectations::ActiveJob
181
185
  end
@@ -12,7 +12,7 @@ module Minitest
12
12
  # end }.must_change "User.count", from: 5, to: 8
13
13
  #
14
14
  # See also ActiveSupport::TestCase#assert_difference
15
- # See https://api.rubyonrails.org/v7.0/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_changes
15
+ # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_changes
16
16
  #
17
17
  # :method: must_change
18
18
  # :args: expression, from: UNTRACKED, to: UNTRACKED
@@ -27,7 +27,7 @@ module Minitest
27
27
  # end
28
28
  #
29
29
  # See also ActiveSupport::TestCase#assert_difference
30
- # See https://api.rubyonrails.org/v7.0/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_changes
30
+ # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_changes
31
31
  #
32
32
  # :method: wont_change
33
33
  # :args: expression
@@ -43,7 +43,7 @@ module Minitest
43
43
  # end }.must_differ "User.count", 3
44
44
  #
45
45
  # See also ActiveSupport::TestCase#assert_difference
46
- # See https://api.rubyonrails.org/v7.0/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_difference
46
+ # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_difference
47
47
  #
48
48
  # :method: must_differ
49
49
  # :args: expression, *args
@@ -56,7 +56,7 @@ module Minitest
56
56
  # value { User.new }.wont_differ "User.count"
57
57
  #
58
58
  # See also ActiveSupport::TestCase#refute_difference
59
- # See https://api.rubyonrails.org/v7.0/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
59
+ # See https://api.rubyonrails.org/v7.1/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
60
60
  #
61
61
  # :method: wont_differ
62
62
  # :args: expression
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Rails
3
- VERSION = "7.0.1".freeze
3
+ VERSION = "7.1.0".freeze
4
4
  end
5
5
  end
@@ -92,17 +92,19 @@ class ActionDispatch::IntegrationTest
92
92
  end
93
93
  end
94
94
 
95
- # TODO: Rails::Generators::TestCase require?
95
+ if defined? Rails::Generators
96
+ require "rails/generators/test_unit"
96
97
 
97
- class Rails::Generators::TestCase
98
- # Use R::G::TC for the base class when describing a generator
99
- register_spec_type(self) do |desc|
100
- desc < Rails::Generators::Base if desc.is_a?(Class)
101
- end
98
+ class Rails::Generators::TestCase
99
+ # Use R::G::TC for the base class when describing a generator
100
+ register_spec_type(self) do |desc|
101
+ desc < Rails::Generators::Base if desc.is_a?(Class)
102
+ end
102
103
 
103
- # Use R::G::TC for the base class when described using :generator
104
- register_spec_type(self) do |_desc, *addl|
105
- addl.include? :generator
104
+ # Use R::G::TC for the base class when described using :generator
105
+ register_spec_type(self) do |_desc, *addl|
106
+ addl.include? :generator
107
+ end
106
108
  end
107
109
  end
108
110
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.1
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.10'
19
+ version: '5.20'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '5.10'
26
+ version: '5.20'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: railties
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 7.0.0
33
+ version: 7.1.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 7.0.0
40
+ version: 7.1.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest-autotest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.3'
61
+ version: '1.4'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.3'
68
+ version: '1.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: minitest-rg
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '6.4'
89
+ version: '6.5'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '6.4'
96
+ version: '6.5'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rubocop
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.28.0
103
+ version: 1.57.0
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.28.0
110
+ version: 1.57.0
111
111
  description: Adds Minitest as the default testing library in Rails
112
112
  email:
113
113
  - mike@blowmage.com
@@ -178,7 +178,7 @@ files:
178
178
  - lib/minitest/rails/parallelize.rb
179
179
  - lib/minitest/rails/railtie.rb
180
180
  - lib/minitest/rails/version.rb
181
- homepage: http://blowmage.com/minitest-rails
181
+ homepage: http://minitest.github.io/minitest-rails/
182
182
  licenses:
183
183
  - MIT
184
184
  metadata: