Redirect to working update billing details end point that shows a nice message

This commit is contained in:
James Allen
2016-08-22 17:36:33 +01:00
parent 861022aff0
commit bcc8bfbe6c
4 changed files with 12 additions and 3 deletions
@@ -109,7 +109,7 @@ describe "SubscriptionController sanboxed", ->
it "should set the correct variables for the template", ->
should.exist @res.renderedVariables.signature
@res.renderedVariables.successURL.should.equal "#{@settings.siteUrl}/user/subscription/update"
@res.renderedVariables.successURL.should.equal "#{@settings.siteUrl}/user/subscription/billing-details/update"
@res.renderedVariables.user.id.should.equal @user._id
describe "with a user without subscription", ->