Skip to content

Commit 65d3050

Browse files
authored
Merge pull request #6648 from Budmin/unprocessable_entity_to_unprocessable_content
update test description to better reflect change from entity to content
2 parents 2c61c08 + 2d06c8b commit 65d3050

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/requests/additional_expenses_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
context "with invalid parameters" do
3737
let(:params) { {additional_expense: invalid_attributes} }
3838

39-
it "fails and responds unprocessable_entity" do
39+
it "fails and responds unprocessable_content" do
4040
expect { subject }.not_to change(ContactTopicAnswer, :count)
4141
expect(response).to have_http_status(:unprocessable_content)
4242
end

spec/requests/contact_topic_answers_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
context "with invalid parameters" do
5151
let(:params) { {contact_topic_answer: invalid_attributes} }
5252

53-
it "fails and responds unprocessable_entity" do
53+
it "fails and responds unprocessable_content" do
5454
expect { subject }.not_to change(ContactTopicAnswer, :count)
5555
expect(response).to have_http_status(:unprocessable_content)
5656
end

0 commit comments

Comments
 (0)