Skip to content

Commit

Permalink
removed dead code from directions unit spec
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmik95 committed Oct 21, 2019
1 parent 6a8ce4d commit fd98998
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions spec/unit/directions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,4 @@ def expect_colosseum_to_colosseum_result(result)
expect(first_route.end_address).to eq 'Piazza del Colosseo, 1, 00184 Roma RM, Italy'
end

def expect_rome_to_sidney_result(result)
expect(result).to be_a GoogleMapsJuice::Directions::Response
expect(result['status']).to eq 'ZERO_RESULTS'
expect(result['routes']).to be Array
expect(result['routes'].size).to be 0
end
end

0 comments on commit fd98998

Please sign in to comment.