spec/iblinter_spec.rb in danger-iblinter-0.0.1 vs spec/iblinter_spec.rb in danger-iblinter-0.0.2

- old
+ new

@@ -1,14 +1,14 @@ # frozen_string_literal: true require File.expand_path("spec_helper", __dir__) require_relative "../lib/iblinter/iblinter" -describe IBLinter do +describe IBLinterRunner do it "command arguments works" do binary_path = File.absolute_path "path/to/binary" options = {} cmd = "#{binary_path} lint --reporter json" - iblinter = IBLinter.new(binary_path) + iblinter = IBLinterRunner.new(binary_path) expect(iblinter.lint_command(options)).to eq cmd end end