mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-09-15 23:53:18 -04:00
Auto corrected by following Ruby rspec layout
This commit is contained in:
1 parent
7301c6cd6c
commit
d248f99209
1 file changed
+1
@@ -10,6 +10,7 @@ describe LikesController do
|
||||
|
||||
describe "POST create" do
|
||||
before { post :create, post_id: blogpost.id, format: :json }
|
||||
|
||||
it { expect(response.content_type).to eq "application/json" }
|
||||
|
||||
it { expect(Like.last.likeable_id).to eq(blogpost.id) }
|
||||
|
||||
Reference in new issue
Block a user