From fe79b34965145f1ece98644bf1537866880cc230 Mon Sep 17 00:00:00 2001 From: jessib Date: Mon, 7 Oct 2013 15:39:56 -0700 Subject: Fix typo in test name. --- billing/test/functional/subsciptions_controller_test.rb | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 billing/test/functional/subsciptions_controller_test.rb (limited to 'billing/test/functional/subsciptions_controller_test.rb') diff --git a/billing/test/functional/subsciptions_controller_test.rb b/billing/test/functional/subsciptions_controller_test.rb deleted file mode 100644 index a6a1057..0000000 --- a/billing/test/functional/subsciptions_controller_test.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'test_helper' -require 'fake_braintree' - -class SubscriptionsControllerTest < ActionController::TestCase - include CustomerTestHelper - - test "destroy cancels subscription" do - customer = stub_customer - login customer.user - result = Braintree::Subscription.create plan_id: 'my_plan', - payment_method_token: customer.braintree_customer.credit_cards.first.token - subscription = result.subscription - delete :destroy, id: subscription.id, user_id: customer.user.id - assert_equal "Canceled", Braintree::Subscription.find(subscription.id).status - end -end -- cgit v1.2.3