Skip to content

Commit

Permalink
Update test to exclude page from url
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-Merino committed Dec 12, 2023
1 parent 801fa13 commit 2398af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/acceptance/errors_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
expect(error).to be_a(Almodovar::HttpError)
expect(error.message).to eq(error_message(400, resource_url, { page: 2 }))
expect(error.response_body).to eq('<error>more info</error>')
expect(error.response_url).to eq(resource_url + "?page=2") # Check for the response_url with query params
expect(error.response_url).to eq(resource_url) # Check for the response_url with query params
}
end

Expand Down

0 comments on commit 2398af1

Please sign in to comment.