Sha256: 91b410c22dc0777267bcfdc216615c82f27989bde9fbdb60c8d07efe9662218e
Contents?: true
Size: 403 Bytes
Versions: 31
Compression:
Stored size: 403 Bytes
Contents
require 'test_helper' class TicketsBookingTest < Minitest::Test def tickets_booking Gillbus::TicketsBooking::Response.parse_string(File.read('test/responses/ticketsBooking.xml')) end def test_number assert_equal("8472", tickets_booking.tickets.first.ticket_number) end def test_total assert_equal(Money.new(110_00, "UAH"), tickets_booking.tickets.first.total_amount) end end
Version data entries
31 entries across 31 versions & 1 rubygems