             _mockTranslate()
             _paymentsService()
             _mockTgConfirm()
+            _mockTgTranslate()
 
             return null
 

            notify: sinon.stub()
        }
        provide.value "$tgConfirm", mocks.tgConfirm

    _mocks = () ->
        module ($provide) ->


    it "changed Taiga Data", (done) ->
        promise = mocks.contribSubscriptionsService.fetchMyPlans.promise().resolve()
        message = mocks.tgTranslate.instant.returns('Test')

        subscriptionsCtrl = controller "ContribSubscriptionsController"

        subscriptionsCtrl._onSuccessChangedData().then () ->
            expect(mocks.tgConfirm.notify).has.been.calledWith('success', 'Test', '', 5000)
            expect(mocks.tgLoader.pageLoaded).has.been.called
            done()
