thoughtfusion/suitcase — pull request #11 by hovatterz (2012-04-26 01:57:51+00:00)
Title: skip car rentals specs if no api access

Running the specs fails on car rentals. I'm guessing it's because I don't have access to that section of the API since my response code is 403. Maybe there should be a check to skip the tests?

```
Suitcase::CarRental
should not raise Exception (FAILED - 1)

Failures:

1) Suitcase::CarRental
Failure/Error: @rentals = Suitcase::CarRental.find(destination: "Seattle", start_date: "07/04/2012", end_date: "07/11/2012", pickup_time: "07:30", dropoff_time: "07:30")
RuntimeError:
Data not valid.
# ./lib/suitcase/car_rental.rb:42:in `parse_json'
# ./lib/suitcase/car_rental.rb:15:in `find'
# ./spec/car_rental_spec.rb:5:in `block (2 levels) in '
```