From eecf7b58db709f99db86bf200b23f6252111b0fe Mon Sep 17 00:00:00 2001 From: Joshua Ogle Date: Thu, 9 May 2019 17:48:47 -0600 Subject: [PATCH] Remove @ from data attributes that don't need it --- ui/app/templates/components/toolbar-link.hbs | 2 +- ui/app/templates/components/toolbar-secret-link.hbs | 4 ++-- ui/app/templates/vault/cluster/auth.hbs | 2 +- ui/tests/integration/components/toolbar-actions-test.js | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ui/app/templates/components/toolbar-link.hbs b/ui/app/templates/components/toolbar-link.hbs index 9289c3ae3f..cf4f197aa9 100644 --- a/ui/app/templates/components/toolbar-link.hbs +++ b/ui/app/templates/components/toolbar-link.hbs @@ -1,5 +1,5 @@ {{yield}} diff --git a/ui/app/templates/vault/cluster/auth.hbs b/ui/app/templates/vault/cluster/auth.hbs index ef94573f99..b595ef7df7 100644 --- a/ui/app/templates/vault/cluster/auth.hbs +++ b/ui/app/templates/vault/cluster/auth.hbs @@ -6,7 +6,7 @@ {{#if (has-feature "Namespaces")}} - +
diff --git a/ui/tests/integration/components/toolbar-actions-test.js b/ui/tests/integration/components/toolbar-actions-test.js index 29090b597d..8f5418a176 100644 --- a/ui/tests/integration/components/toolbar-actions-test.js +++ b/ui/tests/integration/components/toolbar-actions-test.js @@ -1,7 +1,6 @@ import { module, test } from 'qunit'; import { setupRenderingTest } from 'ember-qunit'; import { render } from '@ember/test-helpers'; -import { isPresent } from 'ember-cli-page-object'; import hbs from 'htmlbars-inline-precompile'; module('Integration | Component | toolbar-actions', function(hooks) { @@ -11,6 +10,6 @@ module('Integration | Component | toolbar-actions', function(hooks) { await render(hbs`These are the toolbar actions`); assert.equal(this.element.textContent.trim(), 'These are the toolbar actions'); - assert.ok(isPresent('.toolbar-actions')); + assert.dom('.toolbar-actions').exists(); }); });