aboutsummaryrefslogtreecommitdiffhomepage
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/pronto/eslint_spec.rb2
1 files changed, 1 insertions, 1 deletions
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
48 48
49 context( 49 context(
50 'with files to lint config that matches only .js', 50 'with files to lint config that matches only .js',
51 config: { 'files_to_lint' => /\.js/ } 51 config: { 'files_to_lint' => '\.js$' }
52 ) do 52 ) do
53 it 'returns correct amount of errors' do 53 it 'returns correct amount of errors' do
54 expect(run.count).to eql(2) 54 expect(run.count).to eql(2)