diff options
-rw-r--r-- | actionpack/test/dispatch/routing/direct_url_helpers_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/dispatch/routing/direct_url_helpers_test.rb b/actionpack/test/dispatch/routing/direct_url_helpers_test.rb index cc500e02c8..9bdda60742 100644 --- a/actionpack/test/dispatch/routing/direct_url_helpers_test.rb +++ b/actionpack/test/dispatch/routing/direct_url_helpers_test.rb @@ -27,6 +27,7 @@ class TestDirectUrlHelpers < ActionDispatch::IntegrationTest @id = id end + remove_method :model_name def model_name @_model_name ||= ActiveModel::Name.new(self.class, nil, self.class.name.demodulize) end |