diff options
author | Markus Doits <markus.doits@stellenticket.de> | 2016-04-10 21:37:18 +0200 |
---|---|---|
committer | Markus Doits <markus.doits@stellenticket.de> | 2016-04-11 11:01:46 +0200 |
commit | e96fd240c5911e18f43c62b20ae5f18600c3d793 (patch) | |
tree | 95c841184983fbc9df22d9481ff8a2197e8dc5b9 /spec/pronto/eslint_spec.rb | |
parent | 347e6ab774cd401e437450fc93504b78bf90d748 (diff) | |
download | pronto-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/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 |