Class: Fix::Expect

Inherits:
Spectus::ExpectationTarget show all
Defined in:
lib/fix/it.rb

Overview

Wraps the target of a Spectus expectation.

Instance Method Summary collapse

Constructor Details

#initialize(callable) ⇒ Expect

Create a new expection target

Parameters:

  • callable (#call)

    The object to test.



13
14
15
# File 'lib/fix/it.rb', line 13

def initialize(callable)
  @callable = callable
end