Skip to content

Commit c8839f4

Browse files
committed
Remove defunct .root_name from test fixtures
Was removed elsewhere in 7847d05
1 parent 34e5faa commit c8839f4

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/fixtures/poro.rb

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ def custom_options
8585
SpammyPostSerializer = Class.new(ActiveModel::Serializer) do
8686
attributes :id
8787
has_many :related
88-
89-
def self.root_name
90-
'posts'
91-
end
9288
end
9389

9490
CommentSerializer = Class.new(ActiveModel::Serializer) do
@@ -193,10 +189,6 @@ def json_key
193189
end
194190

195191
PostPreviewSerializer = Class.new(ActiveModel::Serializer) do
196-
def self.root_name
197-
'posts'
198-
end
199-
200192
attributes :title, :body, :id
201193

202194
has_many :comments, serializer: CommentPreviewSerializer

0 commit comments

Comments
 (0)