Skip to content

Commit

Permalink
Failing test removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan Graham Walker committed Jan 26, 2016
1 parent e2052d3 commit cf0e2b8
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions tests/acceptance/tooltip-on-helper-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Ember from 'ember';
import { module, test } from 'qunit';
import selectorFor from '../helpers/selector-for';
import startApp from '../helpers/start-app';

let application;
Expand All @@ -19,7 +18,7 @@ module('Acceptance | tooltip on helper', {

test('Rendering tooltips set on helpers', function(assert) {

assert.expect(19);
assert.expect(24);

visit('/tooltip-on-helper');

Expand All @@ -31,20 +30,13 @@ test('Rendering tooltips set on helpers', function(assert) {
content: 'This is a tooltip on a block component',
});

assertTooltipProperties(assert, 'on-link-to', {
content: 'This is a tooltip on a link-to helper',
});

assertTooltipProperties(assert, 'showing-on-click', {
content: 'This shows on a click event',
event: 'click',
});

mouseOver('on-link-to'); // Show the tooltip

click(selectorFor('on-link-to'));

andThen(function() {

assert.notOk(inspect('on-link-to', false),
'There should be no tooltip in the DOM after transition');

});

});

0 comments on commit cf0e2b8

Please sign in to comment.