test/integrations/order_test.rb in geocerts-0.0.13 vs test/integrations/order_test.rb in geocerts-0.0.14
- old
+ new
@@ -19,11 +19,11 @@
end
should 'properly populate the order data' do
exclusively_mocked_request :get, '/orders.xml', :response => Responses::Order::All do
order = GeoCerts::Order.all.first
- assert_equal(422815, order.id)
+ assert_equal('422815', order.id)
assert_equal('srv02.wavepath.com', order.domain)
assert_equal('93520', order.geotrust_order_id)
assert_equal('Complete', order.status_major)
assert_equal('Order Complete', order.status_minor)
assert_equal(1, order.years)
@@ -76,11 +76,11 @@
end
should 'properly populate the order data' do
exclusively_mocked_request :get, "/orders/422815.xml", :response => Responses::Order::Order do
order = GeoCerts::Order.find(422815)
- assert_equal(422815, order.id)
+ assert_equal('422815', order.id)
assert_equal('srv02.wavepath.com', order.domain)
assert_equal('93520', order.geotrust_order_id)
assert_equal('Complete', order.status_major)
assert_equal('Order Complete', order.status_minor)
assert_equal(1, order.years)
@@ -123,10 +123,10 @@
end
should 'properly populate the order data' do
exclusively_mocked_request :get, "/orders/422815.xml", :response => Responses::Order::Order do
order = GeoCerts::Order.find_by_id(422815)
- assert_equal(422815, order.id)
+ assert_equal('422815', order.id)
assert_equal('srv02.wavepath.com', order.domain)
assert_equal('93520', order.geotrust_order_id)
assert_equal('Complete', order.status_major)
assert_equal('Order Complete', order.status_minor)
assert_equal(1, order.years)