its(:count) { should == 9 }
its(:'first.msg') { should == "Expected { after 'if' condition." }
end
+
+ context 'repo with ignored and not ignored file, each with five warnings' do
+ include_context 'eslintignore repo'
+
+ let(:patches) { repo.diff('master') }
+
+ its(:count) { should == 5 }
+ its(:'first.msg') { should == "Use the function form of 'use strict'." }
+ end
end
end
end