Skip to content

Commit

Permalink
updating test text
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Feb 25, 2021
1 parent cf6b8e1 commit 0ed6232
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x-pack/test/api_integration/apis/ml/system/capabilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default ({ getService }: FtrProviderContext) => {

describe('ml_capabilities', () => {
describe('get capabilities', function () {
it('should have the right number of capabilities', async () => {
it('should be enabled in space', async () => {
const { mlFeatureEnabledInSpace } = await runRequest(USER.ML_POWERUSER);
expect(mlFeatureEnabledInSpace).to.eql(true);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ export default ({ getService }: FtrProviderContext) => {
});

describe('get capabilities', function () {
it('should have the right number of capabilities - space with ML - space with ML', async () => {
it('should be enabled in space - space with ML', async () => {
const { mlFeatureEnabledInSpace } = await runRequest(USER.ML_POWERUSER, idSpaceWithMl);
expect(mlFeatureEnabledInSpace).to.eql(true);
});
it('should have the right number of capabilities - space without ML', async () => {
it('should not be enabled in space - space without ML', async () => {
const { mlFeatureEnabledInSpace } = await runRequest(USER.ML_POWERUSER, idSpaceNoMl);
expect(mlFeatureEnabledInSpace).to.eql(false);
});
Expand Down

0 comments on commit 0ed6232

Please sign in to comment.