mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-01-30 12:10:59 -05:00
Auto corrected by following Ruby rspec layout
This commit is contained in:
@@ -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