change name of test cancelation-view -> cancelation-options-view

This commit is contained in:
Henry Oswald 2015-12-12 11:17:17 +00:00
parent 13af9b7b56
commit 3ed4c0fb72

View file

@ -123,7 +123,7 @@ define [
$scope.inflight = true $scope.inflight = true
$http.post("/user/subscription/cancel", body) $http.post("/user/subscription/cancel", body)
.success -> .success ->
sixpack.convert 'cancelation-view', -> sixpack.convert 'cancelation-options-view', ->
location.reload() location.reload()
.error -> .error ->
console.log "something went wrong changing plan" console.log "something went wrong changing plan"
@ -131,7 +131,7 @@ define [
$scope.switchToCancelationView = -> $scope.switchToCancelationView = ->
sixpack.participate 'cancelation-view', ['basic', 'downgrade-options'], (view, rawResponse)-> sixpack.participate 'cancelation-options-view', ['basic', 'downgrade-options'], (view, rawResponse)->
$scope.view = "cancelation" $scope.view = "cancelation"
$scope.sixpackOpt = view $scope.sixpackOpt = view