File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ module Rails
12
12
Assertions = Test ::Unit ::Assertions
13
13
end
14
14
15
+ # @api private
15
16
class AssertionDelegator < Module
16
17
# @api private
17
18
def initialize ( *assertion_modules )
@@ -46,7 +47,9 @@ def #{method}(*args, &block)
46
47
end
47
48
end
48
49
49
- # Minitest::Test::LifecycleHooks
50
+ # Adapts example groups for `Minitest::Test::LifecycleHooks`
51
+ #
52
+ # @api private
50
53
module MinitestLifecycleAdapter
51
54
extend ActiveSupport ::Concern
52
55
@@ -87,6 +90,7 @@ def assertions=(assertions)
87
90
end
88
91
end
89
92
93
+ # @api private
90
94
module SetupAndTeardownAdapter
91
95
extend ActiveSupport ::Concern
92
96
@@ -147,6 +151,7 @@ def #{m}(*args, &block)
147
151
end
148
152
end
149
153
154
+ # @api private
150
155
class AssertionDelegator
151
156
include ::RSpec ::Rails ::Assertions
152
157
include ::RSpec ::Rails ::MinitestCounters
@@ -165,7 +170,7 @@ def assertion_delegator
165
170
# Backwards compatibility. It's unlikely that anyone is using this
166
171
# constant, but we had forgotten to mark it as `@private` earlier
167
172
#
168
- # @private
173
+ # @api private
169
174
TestUnitAssertionAdapter = MinitestAssertionAdapter
170
175
end
171
176
end
You can’t perform that action at this time.
0 commit comments