Sha256: 88eae2c5a859d538f319f266c6abb10dbb578da95f410a3bc78b5f9071f30160

Contents?: true

Size: 298 Bytes

Versions: 42

Compression:

Stored size: 298 Bytes

Contents

require 'support/aruba-doubles-rspec'

RSpec.configure do |c|
  module Helper
    def invoke_and_expect_cmd(cmd_line)
      cmd_double.double_cmd cmd_line
      subject.invoke
      expect(cmd_double.has_run? cmd_line).to be_true, cmd_double.history.to_pretty
    end

  end
  c.include Helper
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
fwtoolkit-1.0.2 spec/support/double_helper.rb
fwtoolkit-1.0.1 spec/support/double_helper.rb