|
|
@@ -59,7 +59,7 @@ describe('Features', function () {
|
|
|
expect(this.Features.hasFeature('homepage')).to.be.false
|
|
|
expect(this.Features.hasFeature('link-url')).to.be.false
|
|
|
expect(this.Features.hasFeature('oauth')).to.be.false
|
|
|
- expect(this.Features.hasFeature('overleaf-integration')).to.be.false
|
|
|
+ expect(this.Features.hasFeature('saas')).to.be.false
|
|
|
expect(this.Features.hasFeature('references')).to.be.false
|
|
|
expect(this.Features.hasFeature('saml')).to.be.false
|
|
|
expect(this.Features.hasFeature('templates-server-pro')).to.be.false
|
|
|
@@ -72,7 +72,7 @@ describe('Features', function () {
|
|
|
this.settings.apis = {}
|
|
|
})
|
|
|
it('should return true', function () {
|
|
|
- expect(this.Features.hasFeature('overleaf-integration')).to.be.true
|
|
|
+ expect(this.Features.hasFeature('saas')).to.be.true
|
|
|
expect(this.Features.hasFeature('registration')).to.be.true
|
|
|
})
|
|
|
it('should return false', function () {
|
|
|
@@ -104,7 +104,7 @@ describe('Features', function () {
|
|
|
it('should return true', function () {
|
|
|
expect(this.Features.hasFeature('affiliations')).to.be.true
|
|
|
expect(this.Features.hasFeature('analytics')).to.be.true
|
|
|
- expect(this.Features.hasFeature('overleaf-integration')).to.be.true
|
|
|
+ expect(this.Features.hasFeature('saas')).to.be.true
|
|
|
expect(this.Features.hasFeature('references')).to.be.true
|
|
|
expect(this.Features.hasFeature('registration')).to.be.true
|
|
|
})
|
|
|
@@ -135,8 +135,7 @@ describe('Features', function () {
|
|
|
expect(this.Features.hasFeature('homepage')).to.be.true
|
|
|
expect(this.Features.hasFeature('link-url')).to.be.true
|
|
|
expect(this.Features.hasFeature('oauth')).to.be.true
|
|
|
- expect(this.Features.hasFeature('overleaf-integration')).to.be
|
|
|
- .true
|
|
|
+ expect(this.Features.hasFeature('saas')).to.be.true
|
|
|
expect(this.Features.hasFeature('references')).to.be.true
|
|
|
expect(this.Features.hasFeature('registration')).to.be.true
|
|
|
expect(this.Features.hasFeature('saml')).to.be.true
|