1
0
mirror of synced 2026-08-04 22:26:56 +00:00

fix broke test

This commit is contained in:
Rimian Perkins
2019-11-30 16:55:24 +11:00
parent 8afae3f3f2
commit a371d2baf6
+1 -1
View File
@@ -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