updates and spec fixes
This commit is contained in:
@@ -98,7 +98,7 @@ RSpec.describe Api::PostsController, type: :controller do
|
||||
type: "comment",
|
||||
attributes: {body: "post-1-comment-1"},
|
||||
relationships: {
|
||||
post: {data: {id: post1.id.to_s, type: "posts"}}
|
||||
post: {data: {id: post1.id.to_s, type: "post"}}
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
@@ -31,7 +31,7 @@ RSpec.describe Api::PostsController, type: :controller do
|
||||
type: "comment",
|
||||
attributes: {body: "post-1-comment-1"},
|
||||
relationships: {
|
||||
post: {data: {id: post1.id.to_s, type: "posts"}}
|
||||
post: {data: {id: post1.id.to_s, type: "post"}}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user