Skip to content

Commit db612a3

Browse files
committed
Fix AuthenticationGeneratorTest
Reassign the Railtie into the right constant.
1 parent 1696a12 commit db612a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/test/generators/authentication_generator_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_authentication_generator_without_action_mailer
155155
assert_no_match(/rate_limit/, content)
156156
end
157157
ensure
158-
ActionCable.const_set(:Railtie, old_value)
158+
ActionMailer.const_set(:Railtie, old_value)
159159
end
160160

161161
private

0 commit comments

Comments
 (0)