message: Fix password-strength component tests
diff: @@ -31,13 +31,11 @@ module('Integration | Component | password-strength-bar', hooks => {
  await render(hbs`<PasswordStrengthBar @password={{this.password}}/>`);
  this.set('password', 'abc');
  + await settled();
  assert.dom('[data-test-password-bar]').exists('Password-bar renders');
  -
  - settled().then(() => {
  assert.dom('[data-test-password-color-bar]').hasClass('progress-bar-danger');
  });
  - });
  test('weak password', async function(assert) {
  this.set('password', '');
  @@ -45,13 +43,11 @@ module('Integration | Component | password-strength-bar', hooks => {
  await render(hbs`<PasswordStrengthBar @password={{this.password}}/>`);
  this.set('password', 'abcs');
  + await settled();
  assert.dom('[data-test-password-bar]').exists('Password-bar renders');
  -
  - settled().then(() => {
  assert.dom('[data-test-password-color-bar]').hasClass('progress-bar-danger');
  });
  - });
  test('so-so password', async function(assert) {
  this.set('password', '');
  @@ -60,12 +56,11 @@ module('Integration | Component | password-strength-bar', hooks => {
  this.set('password', 'abcstest');
  - assert.dom('[data-test-password-bar]').exists('Password-bar renders');
  + await settled();
  - settled().then(() => {
  + assert.dom('[data-test-password-bar]').exists('Password-bar renders');
  assert.dom('[data-test-password-color-bar]').hasClass('progress-bar-warning');
  });
  - });
  test('good password', async function(assert) {
  this.set('password', '');
  @@ -73,11 +68,11 @@ module('Integration | Component | password-strength-bar', hooks => {
  await render(hbs`<PasswordStrengthBar @password={{this.password}}/>`);
  this.set('password', 'testpassword12310');
  + await settled();
  - settled().then(() => {
  + assert.dom('[data-test-password-bar]').exists('Password-bar renders');
  assert.dom('[data-test-password-color-bar]').hasClass('progress-bar-success');
  });
  - });
  test('great password', async function(assert) {
  this.set('password', '');
  @@ -85,9 +80,8 @@ module('Integration | Component | password-strength-bar', hooks => {
  await render(hbs`<PasswordStrengthBar @password={{this.password}}/>`);
  this.set('password', 'testpassword12310abc');
  + await settled();
  - settled().then(() => {
  assert.dom('[data-test-password-color-bar]').hasClass('progress-bar-success');
  });
  });
  -});
  