From d9360fb1c621fec0720ea2fe86606860642b4750 Mon Sep 17 00:00:00 2001 From: Nigel Ramsay Date: Fri, 26 Nov 2010 16:58:50 +1300 Subject: [PATCH] ws --- test/remote/new_zealand_post_test.rb | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/test/remote/new_zealand_post_test.rb b/test/remote/new_zealand_post_test.rb index 03fe2f6f8..ab91582a9 100644 --- a/test/remote/new_zealand_post_test.rb +++ b/test/remote/new_zealand_post_test.rb @@ -13,10 +13,9 @@ def test_valid_credentials end def test_successful_rates_request - response = @carrier.find_rates( - @locations[:wellington], - @locations[:wellington], - @packages.values_at(:book, :wii)) + response = @carrier.find_rates(@locations[:wellington], + @locations[:wellington], + @packages.values_at(:book, :wii)) assert response.is_a?(RateResponse) assert response.success? @@ -26,10 +25,9 @@ def test_successful_rates_request def test_failure_rates_request begin - @carrier.find_rates( - @locations[:wellington], - @locations[:wellington], - @packages[:shipping_container]) + @carrier.find_rates(@locations[:wellington], + @locations[:wellington], + @packages[:shipping_container]) flunk "expected an ActiveMerchant::Shipping::ResponseError to be raised" rescue ActiveMerchant::Shipping::ResponseError => e