diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c05f072..e147ea7 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb | |||
@@ -21,5 +21,8 @@ RSpec.shared_context 'with config', config: true do | |||
21 | 21 | ||
22 | before(:each) do | 22 | before(:each) do |
23 | allow_any_instance_of(Pronto::ESLintNpm).to receive(:config_options).and_return(requested_config) | 23 | allow_any_instance_of(Pronto::ESLintNpm).to receive(:config_options).and_return(requested_config) |
24 | |||
25 | # make sure the config is actually read in the example | ||
26 | expect_any_instance_of(Pronto::ESLintNpm).to receive(:read_config).and_call_original | ||
24 | end | 27 | end |
25 | end | 28 | end |