test/integrations/order_test.rb in geocerts-0.0.16 vs test/integrations/order_test.rb in geocerts-0.0.17

- old
+ new

@@ -451,11 +451,11 @@ exclusively_mocked_request :post, '/orders/validate.xml', :response => Responses::Order::Validation do order = GeoCerts::Order.new.validate assert_equal(true, order.renewal_information.indicator) assert_equal(1, order.renewal_information.months) assert_equal('abC12De', order.renewal_information.serial_number) - assert_equal('1234ab', order.renewal_information.order_id) + assert_equal('1234ab', order.renewal_information.geotrust_order_id) assert_equal(DateTime.parse('2009-01-01T00:00:00Z'), order.renewal_information.expires_at) end end should 'return false on failure' do @@ -499,10 +499,10 @@ exclusively_mocked_request :post, '/orders/validate.xml', :response => Responses::Order::Validation do order = GeoCerts::Order.validate! assert_equal(true, order.renewal_information.indicator) assert_equal(1, order.renewal_information.months) assert_equal('abC12De', order.renewal_information.serial_number) - assert_equal('1234ab', order.renewal_information.order_id) + assert_equal('1234ab', order.renewal_information.geotrust_order_id) assert_equal(DateTime.parse('2009-01-01T00:00:00Z'), order.renewal_information.expires_at) end end should 'raise ResourceInvalid on failure' do