aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/activerecord/render_partial_with_record_identification_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test/activerecord/render_partial_with_record_identification_test.rb')
-rw-r--r--actionview/test/activerecord/render_partial_with_record_identification_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/activerecord/render_partial_with_record_identification_test.rb b/actionview/test/activerecord/render_partial_with_record_identification_test.rb
index 55886da30f..60c3ab3045 100644
--- a/actionview/test/activerecord/render_partial_with_record_identification_test.rb
+++ b/actionview/test/activerecord/render_partial_with_record_identification_test.rb
@@ -87,7 +87,7 @@ class RenderPartialWithRecordIdentificationTest < ActiveRecordTestCase
end
end
-class Game < Struct.new(:name, :id)
+Game = Struct.new(:name, :id) do
extend ActiveModel::Naming
include ActiveModel::Conversion
def to_param