Top Level Namespace

Defined Under Namespace

Modules: ActiveRecord, NotAMock, Spec Classes: Object

Instance Method Summary collapse

Instance Method Details

#have_been_calledObject



62
63
64
# File 'lib/not_a_mock/matchers.rb', line 62

def have_been_called
  NotAMock::Matchers::AnythingMatcher.new
end

#have_received(method) ⇒ Object



66
67
68
# File 'lib/not_a_mock/matchers.rb', line 66

def have_received(method)
  NotAMock::Matchers::MethodMatcher.new(method)
end