spec/booking_spec.rb in quicktravel_client-3.8.1 vs spec/booking_spec.rb in quicktravel_client-3.9.0

- old
+ new

@@ -205,5 +205,15 @@ expect(exception.response).to eq({'error' => "Booking not found. It may have been removed due to inactivity"}) } end end end + +describe QuickTravel::Booking, "#customer_comments" do + let(:booking) { QuickTravel::Booking.find(333536) } + + it 'should return customer comments' do + VCR.use_cassette('booking_with_comments') do + expect(booking.customer_comments).to eq 'I hate this' + end + end +end