Skip to content

Commit

Permalink
update test title
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeheft committed Jul 8, 2024
1 parent ac45a86 commit 187c38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/errors/error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require "rails_helper"

RSpec.describe "Errors", :skip_geocode, type: :request do
it "raises RetryError" do
it "raises JSONParserError and responds with correct error shape" do
expect(Rides::Commands::GetRoutesData).to receive(:call).and_raise(
ApiException::JSONParserError.new("Attemped to parse invalid JSON:"), 500
)
Expand Down

0 comments on commit 187c38d

Please sign in to comment.