aboutsummaryrefslogtreecommitdiffhomepage
path: root/spec/pronto
diff options
context:
space:
mode:
authorMarkus Doits <markus.doits@stellenticket.de>2016-04-10 21:37:18 +0200
committerMarkus Doits <markus.doits@stellenticket.de>2016-04-11 11:01:46 +0200
commite96fd240c5911e18f43c62b20ae5f18600c3d793 (patch)
tree95c841184983fbc9df22d9481ff8a2197e8dc5b9 /spec/pronto
parent347e6ab774cd401e437450fc93504b78bf90d748 (diff)
downloadpronto-hlint-e96fd240c5911e18f43c62b20ae5f18600c3d793.tar.gz
pronto-hlint-e96fd240c5911e18f43c62b20ae5f18600c3d793.tar.zst
pronto-hlint-e96fd240c5911e18f43c62b20ae5f18600c3d793.zip
modify spec to check for .es6 liniting
Diffstat (limited to 'spec/pronto')
-rw-r--r--spec/pronto/eslint_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/pronto/eslint_spec.rb b/spec/pronto/eslint_spec.rb
index 29d46e4..7af0aa2 100644
--- a/spec/pronto/eslint_spec.rb
+++ b/spec/pronto/eslint_spec.rb
@@ -17,12 +17,12 @@ module Pronto
17 it { should == [] } 17 it { should == [] }
18 end 18 end
19 19
20 context 'patches with a four warnings' do 20 context 'patches with a four and a five warnings' do
21 include_context 'test repo' 21 include_context 'test repo'
22 22
23 let(:patches) { repo.diff('master') } 23 let(:patches) { repo.diff('master') }
24 24
25 its(:count) { should == 4 } 25 its(:count) { should == 9 }
26 its(:'first.msg') { should == "Expected { after 'if' condition." } 26 its(:'first.msg') { should == "Expected { after 'if' condition." }
27 end 27 end
28 end 28 end