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-2.6.4 spec/support/double_helper.rb
fwtoolkit-2.6.3 spec/support/double_helper.rb
fwtoolkit-2.6.2 spec/support/double_helper.rb
fwtoolkit-2.6.1 spec/support/double_helper.rb
fwtoolkit-2.6.0 spec/support/double_helper.rb
fwtoolkit-2.5.0 spec/support/double_helper.rb
fwtoolkit-2.4.0 spec/support/double_helper.rb
fwtoolkit-2.3.6 spec/support/double_helper.rb
fwtoolkit-2.3.5 spec/support/double_helper.rb
fwtoolkit-2.3.4 spec/support/double_helper.rb
fwtoolkit-2.3.3 spec/support/double_helper.rb
fwtoolkit-2.3.2 spec/support/double_helper.rb
fwtoolkit-2.3.1 spec/support/double_helper.rb
fwtoolkit-2.3.0 spec/support/double_helper.rb
fwtoolkit-2.2.4 spec/support/double_helper.rb
fwtoolkit-2.2.3 spec/support/double_helper.rb
fwtoolkit-2.2.2 spec/support/double_helper.rb
fwtoolkit-2.2.1 spec/support/double_helper.rb
fwtoolkit-2.2.0 spec/support/double_helper.rb
fwtoolkit-2.1.10 spec/support/double_helper.rb