diff options
Diffstat (limited to 'spec/pronto/eslint_spec.rb')
-rw-r--r-- | spec/pronto/eslint_spec.rb | 4 |
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 |