We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef19a9e commit 40489faCopy full SHA for 40489fa
test/generators/serializer_generator_test.rb
@@ -67,6 +67,7 @@ def stub_safe_constantize(expected:)
67
yield
68
ensure
69
String.class_eval do
70
+ undef_method :safe_constantize
71
alias_method :safe_constantize, :old
72
undef_method :old
73
end
0 commit comments