;
This commit is contained in:
parent
b17517ede0
commit
6224f36ff6
7 changed files with 7 additions and 7 deletions
|
|
@ -55,7 +55,7 @@ describe('disclaimerController', function() {
|
|||
initController: true,
|
||||
noDisclaimer: true,
|
||||
}, done);
|
||||
})
|
||||
});
|
||||
|
||||
afterEach(function(done) {
|
||||
mocks.clear({}, done);
|
||||
|
|
|
|||
|
|
@ -222,7 +222,7 @@ mocks.init = function(fixtures, controllerName, opts, done) {
|
|||
should.not.exist(err, err);
|
||||
if (opts.noDisclaimer){
|
||||
return done();
|
||||
};
|
||||
}
|
||||
_profileService_.setDisclaimerAccepted(function() {
|
||||
if (!opts.initController)
|
||||
startController();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue