lib/pliny/templates/endpoint_acceptance_test.erb in pliny-0.2.1 vs lib/pliny/templates/endpoint_acceptance_test.erb in pliny-0.3.0
- old
+ new
@@ -18,10 +18,10 @@
expect(last_response.status).to eq(200)
assert_schema_conform
end
end
- describe 'POST <%= url_path %>/:id' do
+ describe 'POST <%= url_path %>' do
it 'returns correct status code and conforms to schema' do
header "Content-Type", "application/json"
post '<%= url_path %>', MultiJson.encode({})
expect(last_response.status).to eq(201)
assert_schema_conform