From a371d2baf62c72486cff41bb0e59c4c2aa854081 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Sat, 30 Nov 2019 16:55:24 +1100 Subject: [PATCH] fix broke test --- spec/requests/admin/plans_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/admin/plans_controller_spec.rb b/spec/requests/admin/plans_controller_spec.rb index f0cd25a..70b2a45 100644 --- a/spec/requests/admin/plans_controller_spec.rb +++ b/spec/requests/admin/plans_controller_spec.rb @@ -90,7 +90,7 @@ module DiscoursePatrons describe "show" do it "shows a plan" do - ::Stripe::Plan.expects(:retrieve).with('plan_12345') + ::Stripe::Plan.expects(:retrieve).with('plan_12345').returns(currency: 'aud') get "/patrons/admin/plans/plan_12345.json" expect(response.status).to eq 200 end