Sha256: 7277638e877257958bcc6ff2213f4af14faa89233baf4f71e61119de64a79dab

Contents?: true

Size: 309 Bytes

Versions: 42

Compression:

Stored size: 309 Bytes

Contents

require 'aruba-doubles'
require 'rspec'

class ArubaDoublesSupport
  include ArubaDoubles
  include RSpec::Core::DSL

  def setup
    ArubaDoubles::Double.setup
  end

  def teardown
    ArubaDoubles::Double.teardown
    history.clear
  end

  def has_run?(cmd)
    history.include? cmd.shellsplit
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
fwtoolkit-2.6.4 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.6.3 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.6.2 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.6.1 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.6.0 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.5.0 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.4.0 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.3.6 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.3.5 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.3.4 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.3.3 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.3.2 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.3.1 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.3.0 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.2.4 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.2.3 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.2.2 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.2.1 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.2.0 spec/support/aruba-doubles-rspec.rb
fwtoolkit-2.1.10 spec/support/aruba-doubles-rspec.rb