From fa137a53f58bba5a12fd64ac388b4ee4b847d3fb Mon Sep 17 00:00:00 2001 From: Markus Doits Date: Sun, 11 Sep 2016 20:27:33 +0200 Subject: [PATCH] make config spec pass string option, not regexp --- spec/pronto/eslint_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/pronto/eslint_spec.rb b/spec/pronto/eslint_spec.rb index e354ba4..b0b9c22 100644 --- a/spec/pronto/eslint_spec.rb +++ b/spec/pronto/eslint_spec.rb @@ -48,7 +48,7 @@ module Pronto context( 'with files to lint config that matches only .js', - config: { 'files_to_lint' => /\.js/ } + config: { 'files_to_lint' => '\.js$' } ) do it 'returns correct amount of errors' do expect(run.count).to eql(2) -- 2.41.0