Module: Stendhal::Mocks

Included in:
Example
Defined in:
lib/stendhal/mocks.rb,
lib/stendhal/mocks/mockable.rb,
lib/stendhal/mocks/stubbable.rb,
lib/stendhal/mocks/test_double.rb,
lib/stendhal/mocks/mock_verifier.rb

Defined Under Namespace

Modules: Mockable, Stubbable Classes: MockVerifier, TestDouble

Instance Method Summary collapse

Instance Method Details

#double(*args) ⇒ Object Also known as: fake



8
9
10
# File 'lib/stendhal/mocks.rb', line 8

def double(*args)
  TestDouble.new(*args)
end