minitest-rails 7.1.0 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/LICENSE +1 -1
- data/README.md +24 -33
- data/UPDATING.md +1 -1
- data/lib/minitest/rails/assertions/action_cable.rb +10 -10
- data/lib/minitest/rails/assertions/action_mailer.rb +5 -5
- data/lib/minitest/rails/assertions/active_support.rb +4 -4
- data/lib/minitest/rails/expectations/action_cable.rb +7 -7
- data/lib/minitest/rails/expectations/action_mailer.rb +5 -5
- data/lib/minitest/rails/expectations/active_support.rb +4 -4
- data/lib/minitest/rails/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +36 -9
- metadata.gz.sig +3 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1020e4e2595e95931ab3b2a3d9a0b3f084fae03f72526e70825b2a1a711fe2a5
|
4
|
+
data.tar.gz: 932d9bb219b6c124d7a5fbde7a6dfc2084b046a97c448105d77ba3a3b5518d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ef6fe16942a742b8c61bcd1eb089d846d05aaebab1fb923ec095ce903cf03f26f6129bdc9a0f873a608cec27d8c4c9f2ac65710682b3b912249c21bae801c24a
|
7
|
+
data.tar.gz: 4ef8b263bb0afe187ffafd984f12716ab7c40d758b182e8949d2f5f49248ecd32027f71599d173678aa3c97ef7172bd68dd784b8421bec889d2319b6d3227707
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# minitest-rails
|
2
2
|
|
3
|
-
Minitest integration for Rails 7.
|
3
|
+
Minitest integration for Rails 7.2
|
4
4
|
|
5
|
-
[![CI](https://github.com/
|
6
|
-
[![
|
5
|
+
[![CI](https://github.com/minitest/minitest-rails/actions/workflows/ci.yml/badge.svg)](https://github.com/minitest/minitest-rails/actions/workflows/ci.yml)
|
6
|
+
[![CodeQL](https://github.com/minitest/minitest-rails/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/minitest/minitest-rails/actions/workflows/github-code-scanning/codeql)
|
7
7
|
|
8
8
|
## Install
|
9
9
|
|
@@ -22,51 +22,34 @@ Create a new rails app:
|
|
22
22
|
### Choosing a version
|
23
23
|
|
24
24
|
This gem follows the versioning of Rails.
|
25
|
-
|
26
|
-
For example:
|
25
|
+
For example, if you are using Rails 7.2 you will specify:
|
27
26
|
|
28
27
|
```ruby
|
29
|
-
gem "minitest-rails", "~> 7.
|
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
|
-
|
35
|
-
```ruby
|
36
|
-
gem "minitest-rails", "~> 7.0.0"
|
37
|
-
```
|
38
|
-
|
39
|
-
If you are running Rails 6.x, specify the corresponding 6.x release in the Gemfile.
|
40
|
-
For example, if you are using Rails 6.1 you will specify:
|
41
|
-
|
42
|
-
```ruby
|
43
|
-
gem "minitest-rails", "~> 6.1.0"
|
28
|
+
gem "minitest-rails", "~> 7.2.0"
|
44
29
|
```
|
45
30
|
|
46
|
-
If you are running Rails
|
47
|
-
For example, if you are using Rails 5.2 you will specify:
|
31
|
+
If you are running Rails 7.1 you will specify:
|
48
32
|
|
49
33
|
```ruby
|
50
|
-
gem "minitest-rails", "~>
|
34
|
+
gem "minitest-rails", "~> 7.1.0"
|
51
35
|
```
|
52
36
|
|
53
|
-
|
37
|
+
If you are running Rails 7.0 you will specify:
|
54
38
|
|
55
39
|
```ruby
|
56
|
-
gem "minitest-rails", "~>
|
40
|
+
gem "minitest-rails", "~> 7.0.0"
|
57
41
|
```
|
58
42
|
|
59
|
-
If you are running Rails
|
43
|
+
If you are running Rails 6.1 you will specify:
|
60
44
|
|
61
45
|
```ruby
|
62
|
-
gem "minitest-rails", "~>
|
46
|
+
gem "minitest-rails", "~> 6.1.0"
|
63
47
|
```
|
64
48
|
|
65
|
-
If you are running Rails
|
66
|
-
But if you are you need to specify the 1.x release in the Gemfile:
|
49
|
+
If you are running Rails 6.0 you will specify:
|
67
50
|
|
68
51
|
```ruby
|
69
|
-
gem "minitest-rails", "~>
|
52
|
+
gem "minitest-rails", "~> 6.0.0"
|
70
53
|
```
|
71
54
|
|
72
55
|
### Installing
|
@@ -107,13 +90,21 @@ To run your tests use the `rails test` that ship with rails.
|
|
107
90
|
|
108
91
|
## Get Involved
|
109
92
|
|
110
|
-
Join the
|
93
|
+
Join the Github discussions to get help or offer suggestions:
|
94
|
+
|
95
|
+
https://github.com/minitest/minitest-rails/discussions
|
96
|
+
|
97
|
+
Report bugs by opening an issue:
|
98
|
+
|
99
|
+
https://github.com/minitest/minitest-rails/issues
|
100
|
+
|
101
|
+
Contribute changes by creating a pull request:
|
111
102
|
|
112
|
-
https://
|
103
|
+
https://github.com/minitest/minitest-rails/pulls
|
113
104
|
|
114
105
|
## License
|
115
106
|
|
116
|
-
Copyright (c)
|
107
|
+
Copyright (c) 2023 Mike Moore
|
117
108
|
|
118
109
|
Permission is hereby granted, free of charge, to any person obtaining
|
119
110
|
a copy of this software and associated documentation files (the
|
data/UPDATING.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Updating from previous versions
|
2
2
|
|
3
|
-
If you are upgrading from previous versions, then there are some subtle changes that you should be aware of. Do you see a change that is not listed in this document? Then please [open an issue](https://github.com/
|
3
|
+
If you are upgrading from previous versions, then there are some subtle changes that you should be aware of. Do you see a change that is not listed in this document? Then please [open an issue](https://github.com/minitest/minitest-rails/issues/new) to add it.
|
4
4
|
|
5
5
|
## Spec DSL
|
6
6
|
|
@@ -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.
|
28
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
55
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
78
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
111
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
138
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
161
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
175
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
189
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
203
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
229
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
28
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
54
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
87
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
125
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
148
|
+
# See https://api.rubyonrails.org/v7.2/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)
|
@@ -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.
|
11
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
25
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
39
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
53
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
34
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
61
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
83
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
107
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
120
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
134
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
169
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
33
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
59
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
91
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
129
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
152
|
+
# See https://api.rubyonrails.org/v7.2/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)
|
@@ -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.
|
15
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
30
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
46
|
+
# See https://api.rubyonrails.org/v7.2/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.
|
59
|
+
# See https://api.rubyonrails.org/v7.2/classes/ActiveSupport/Testing/Assertions.html#method-i-assert_no_difference
|
60
60
|
#
|
61
61
|
# :method: wont_differ
|
62
62
|
# :args: expression
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDPjCCAiagAwIBAgIBCDANBgkqhkiG9w0BAQsFADBFMRMwEQYDVQQDDApyeWFu
|
14
|
+
ZC1ydWJ5MRkwFwYKCZImiZPyLGQBGRYJemVuc3BpZGVyMRMwEQYKCZImiZPyLGQB
|
15
|
+
GRYDY29tMB4XDTI0MDEwMjIxMjEyM1oXDTI1MDEwMTIxMjEyM1owRTETMBEGA1UE
|
16
|
+
AwwKcnlhbmQtcnVieTEZMBcGCgmSJomT8ixkARkWCXplbnNwaWRlcjETMBEGCgmS
|
17
|
+
JomT8ixkARkWA2NvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALda
|
18
|
+
b9DCgK+627gPJkB6XfjZ1itoOQvpqH1EXScSaba9/S2VF22VYQbXU1xQXL/WzCkx
|
19
|
+
taCPaLmfYIaFcHHCSY4hYDJijRQkLxPeB3xbOfzfLoBDbjvx5JxgJxUjmGa7xhcT
|
20
|
+
oOvjtt5P8+GSK9zLzxQP0gVLS/D0FmoE44XuDr3iQkVS2ujU5zZL84mMNqNB1znh
|
21
|
+
GiadM9GHRaDiaxuX0cIUBj19T01mVE2iymf9I6bEsiayK/n6QujtyCbTWsAS9Rqt
|
22
|
+
qhtV7HJxNKuPj/JFH0D2cswvzznE/a5FOYO68g+YCuFi5L8wZuuM8zzdwjrWHqSV
|
23
|
+
gBEfoTEGr7Zii72cx+sCAwEAAaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
|
24
|
+
HQYDVR0OBBYEFEfFe9md/r/tj/Wmwpy+MI8d9k/hMA0GCSqGSIb3DQEBCwUAA4IB
|
25
|
+
AQCygvpmncmkiSs9r/Kceo4bBPDszhTv6iBi4LwMReqnFrpNLMOWJw7xi8x+3eL2
|
26
|
+
XS09ZPNOt2zm70KmFouBMgOysnDY4k2dE8uF6B8JbZOO8QfalW+CoNBliefOTcn2
|
27
|
+
bg5IOP7UoGM5lC174/cbDJrJnRG9bzig5FAP0mvsgA8zgTRXQzIUAZEo92D5K7p4
|
28
|
+
B4/O998ho6BSOgYBI9Yk1ttdCtti6Y+8N9+fZESsjtWMykA+WXWeGUScHqiU+gH8
|
29
|
+
S7043fq9EbQdBr2AXdj92+CDwuTfHI6/Hj5FVBDULufrJaan4xUgL70Hvc6pTTeW
|
30
|
+
deKfBjgVAq7EYHu1AczzlUly
|
31
|
+
-----END CERTIFICATE-----
|
32
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
33
|
dependencies:
|
13
34
|
- !ruby/object:Gem::Dependency
|
14
35
|
name: minitest
|
@@ -28,16 +49,22 @@ dependencies:
|
|
28
49
|
name: railties
|
29
50
|
requirement: !ruby/object:Gem::Requirement
|
30
51
|
requirements:
|
31
|
-
- - "
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 7.2.0
|
55
|
+
- - "<"
|
32
56
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
57
|
+
version: 8.0.0
|
34
58
|
type: :runtime
|
35
59
|
prerelease: false
|
36
60
|
version_requirements: !ruby/object:Gem::Requirement
|
37
61
|
requirements:
|
38
|
-
- - "
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 7.2.0
|
65
|
+
- - "<"
|
39
66
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
67
|
+
version: 8.0.0
|
41
68
|
- !ruby/object:Gem::Dependency
|
42
69
|
name: minitest-autotest
|
43
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,14 +218,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
191
218
|
requirements:
|
192
219
|
- - ">="
|
193
220
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
221
|
+
version: '3.1'
|
195
222
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
196
223
|
requirements:
|
197
224
|
- - ">="
|
198
225
|
- !ruby/object:Gem::Version
|
199
226
|
version: '0'
|
200
227
|
requirements: []
|
201
|
-
rubygems_version: 3.
|
228
|
+
rubygems_version: 3.5.23
|
202
229
|
signing_key:
|
203
230
|
specification_version: 4
|
204
231
|
summary: Minitest integration for Rails
|
metadata.gz.sig
ADDED