aboutsummaryrefslogtreecommitdiffhomepage
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb3
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
25end 28end