aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/activerecord/render_partial_with_record_identification_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/activerecord/render_partial_with_record_identification_test.rb')
-rw-r--r--actionpack/test/activerecord/render_partial_with_record_identification_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/activerecord/render_partial_with_record_identification_test.rb b/actionpack/test/activerecord/render_partial_with_record_identification_test.rb
index 2a31f3be44..0122bc7d8f 100644
--- a/actionpack/test/activerecord/render_partial_with_record_identification_test.rb
+++ b/actionpack/test/activerecord/render_partial_with_record_identification_test.rb
@@ -126,7 +126,7 @@ class RenderPartialWithRecordIdentificationController < ActionController::Base
end
class Game < Struct.new(:name, :id)
- extend ActiveModel::Naming
+ extend ActiveModel::APICompliant
def to_param
id.to_s
end