From 7583c18e00eccdfdd0bb911d663da63a7567c064 Mon Sep 17 00:00:00 2001 From: Alexander Afanasyev Date: Wed, 29 Jun 2016 14:24:30 -0400 Subject: [PATCH] test(plugin): improve integration test --- test/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/index.js b/test/index.js index 683bd27..a888d57 100644 --- a/test/index.js +++ b/test/index.js @@ -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']) }) })