Module: RSpec::Bash::Mocks::Matchers

Defined in:
lib/rspec/bash/mocks/matchers.rb,
lib/rspec/bash/mocks/matchers/test.rb,
lib/rspec/bash/mocks/matchers/receive.rb,
lib/rspec/bash/mocks/matchers/base_matcher.rb

Defined Under Namespace

Classes: BaseMatcher, Receive, Test

Instance Method Summary collapse

Instance Method Details

#receive(*args) ⇒ Object



8
9
10
# File 'lib/rspec/bash/mocks/matchers.rb', line 8

def receive(*args)
  Receive.new(*args)
end

#test(*args) ⇒ Object



12
13
14
# File 'lib/rspec/bash/mocks/matchers.rb', line 12

def test(*args)
  Test.new(*args)
end