Skip to content

Commit

Permalink
test(plugin): improve integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
alecxe committed Jun 29, 2016
1 parent a1664e9 commit 7583c18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ describe('eslint-plugin-protractor', function () {
ruleFiles.forEach(function (file) {
var ruleName = path.basename(file, '.js')

expect(plugin).to.have.deep.property('configs.recommended.rules').that.has.property('protractor/' + ruleName)
expect(plugin).to.have.deep.property('configs.recommended.rules')
.that.has.property('protractor/' + ruleName)
.that.is.oneOf([0, 1, 2, 'off', 'warn', 'error'])
})
})

Expand Down

0 comments on commit 7583c18

Please sign in to comment.