]> git.immae.eu Git - github/fretlink/pronto-hlint.git/blobdiff - spec/pronto/eslint_spec.rb
modify spec to check for .es6 liniting
[github/fretlink/pronto-hlint.git] / spec / pronto / eslint_spec.rb
index 29d46e481c78e21576870693ffe6b3f4dd8525da..7af0aa25f20030a5ed97e7e0da8812f74bfd208b 100644 (file)
@@ -17,12 +17,12 @@ module Pronto
         it { should == [] }
       end
 
-      context 'patches with a four warnings' do
+      context 'patches with a four and a five warnings' do
         include_context 'test repo'
 
         let(:patches) { repo.diff('master') }
 
-        its(:count) { should == 4 }
+        its(:count) { should == 9 }
         its(:'first.msg') { should == "Expected { after 'if' condition." }
       end
     end