Auto corrected by following Ruby rspec layout

This commit is contained in:
Awesome Code
2018-09-11 03:29:48 +00:00
parent 7301c6cd6c
commit d248f99209

View File

@@ -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) }