test/integrations/event_test.rb in geocerts-0.0.13 vs test/integrations/event_test.rb in geocerts-0.0.14

- old
+ new

@@ -22,11 +22,11 @@ should 'properly populate the events' do exclusively_mocked_request :get, '/events.xml', :response => Responses::Event::All do event = GeoCerts::Event.all.first assert_equal(795652, event.id) - assert_equal(422800, event.order_id) + assert_equal('422800', event.order_id) assert_equal('Approver Confirmed', event.name) assert_equal(DateTime.parse('2009-08-12T16:38:14-04:00'), event.created_at) end end @@ -68,11 +68,11 @@ should 'properly populate the events' do exclusively_mocked_request :get, '/orders/422815/events.xml', :response => Responses::Event::Order do event = GeoCerts::Event.find(422815).first assert_equal(795652, event.id) - assert_equal(422815, event.order_id) + assert_equal('422815', event.order_id) assert_equal('Approver Confirmed', event.name) assert_equal(DateTime.parse('2009-08-12T16:38:14-04:00'), event.created_at) end end @@ -130,10 +130,10 @@ should 'properly populate the events' do exclusively_mocked_request :get, '/orders/422815/events.xml', :response => Responses::Event::Order do event = GeoCerts::Event.find_by_order_id(422815).first assert_equal(795652, event.id) - assert_equal(422815, event.order_id) + assert_equal('422815', event.order_id) assert_equal('Approver Confirmed', event.name) assert_equal(DateTime.parse('2009-08-12T16:38:14-04:00'), event.created_at) end end