Sha256: c4d7958de164d34bebd1f05e0149688467bb84bed4e9554f41ec42b5019b9195

Contents?: true

Size: 415 Bytes

Versions: 3

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

require File.expand_path("spec_helper", __dir__)
require_relative "../lib/iblinter/iblinter"

describe IBLinterRunner do
  it "command arguments works" do
    binary_path = File.absolute_path "path/to/binary"
    options = {}
    cmd = "#{binary_path} lint --reporter json"
    iblinter = IBLinterRunner.new(binary_path)
    expect(iblinter.lint_command(options)).to eq cmd
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
danger-iblinter-0.0.4 spec/iblinter_spec.rb
danger-iblinter-0.0.3 spec/iblinter_spec.rb
danger-iblinter-0.0.2 spec/iblinter_spec.rb