Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

pass on AR 3.0.x

  • Loading branch information...
commit 5851187be07c57f72c1f5e99e5bb842ebf79385b 1 parent 23ebd1c
Eric Ponce trico authored
2  lib/shopify_api/resources/recurring_application_charge.rb
View
@@ -20,4 +20,4 @@ def activate
load_attributes_from_response(post(:activate))
end
end
-end
+end
2  test/fixtures/recurring_application_charge.json
View
@@ -17,4 +17,4 @@
"decorated_return_url": "http://super-duper.shopifyapps.com?charge_id=654381177",
"confirmation_url": "http://apple.myshopify.com/admin/charges/654381177/confirm_recurring_application_charge?signature=BAhpBHkQASc%3D--419fc7424f8c290ac2b21b9004ed223e35b52164"
}
-}
+}
2  test/fixtures/recurring_application_charges.json
View
@@ -103,4 +103,4 @@
"decorated_return_url": "http://yourapp.com?charge_id=455696195"
}
]
-}
+}
6 test/recurring_application_charge_test.rb
View
@@ -85,7 +85,7 @@ def test_activate_recurring_application_charge
charge = ShopifyAPI::RecurringApplicationCharge.accepted
- assert_equal true, charge.last.activate
+ assert charge.last.activate
end
def test_cancel_recurring_application_charge
@@ -93,7 +93,7 @@ def test_cancel_recurring_application_charge
fake "recurring_application_charges/455696194", :method => :delete, :status => 200, :body => "{}"
charge = ShopifyAPI::RecurringApplicationCharge.current
- assert_equal true, charge.cancel
+ assert charge.cancel
end
def test_no_recurring_application_charge_found
@@ -104,4 +104,4 @@ def test_no_recurring_application_charge_found
assert_equal [], ShopifyAPI::RecurringApplicationCharge.pending
end
-end
+end
Please sign in to comment.
Something went wrong with that request. Please try again.