Skip to content

Commit

Permalink
test(errors): Skip test related to errors
Browse files Browse the repository at this point in the history
Asserting error thrown no longer works as of ember 2.11
see [emberjs/ember.js#15013](emberjs/ember.js#15013) and [emberjs/ember-mocha#141](emberjs/ember-mocha#141)
  • Loading branch information
Baptiste Meurant committed Apr 9, 2017
1 parent f63d30c commit f529fe4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/helpers/array-contains-test.js
Expand Up @@ -19,7 +19,9 @@ describeComponent('array-contains', 'helper:array-contains', { integration: true
expect(this.$().text()).to.equal("false", "array should not contain anything");
});

it('should throw error if array is invalid', function () {
// Asserting error thrown no longer works as of ember 2.11
// TODO: unkip once https://github.com/emberjs/ember.js/issues/15013 is resolved.
it.skip('should throw error if array is invalid', function () {
this.set('array', 'any');

expect(this.render.bind(this,hbs`{{array-contains array 'any'}}`))
Expand Down

0 comments on commit f529fe4

Please sign in to comment.