spec/plugin_spec.rb in danger-iblinter-0.0.4 vs spec/plugin_spec.rb in danger-iblinter-0.0.5

- old
+ new

@@ -18,10 +18,10 @@ json = File.read(File.dirname(__FILE__) + "/support/fixtures/github_pr.json") allow(@iblinter.github).to receive(:pr_json).and_return(json) end it "inline comment works with relative path" do - linter = IBLinterRunner.new("/path/to/binary") + linter = IBLinterRunner.new("/path/to/binary", nil) allow(linter).to receive(:lint) do JSON.parse(File.read(File.dirname(__FILE__) + "/support/fixtures/iblinter.json")) end allow(@iblinter).to receive(:iblinter).and_return(linter) allow(@iblinter).to receive(:iblinter_installed?).and_return(true)