Class: Evil::Client::RSpec::ExpectStub
- Defined in:
- lib/evil/client/rspec/expect_stub.rb
Overview
Container to chain settings for allowing operation(s)
Instance Method Summary collapse
Methods inherited from BaseStub
Instance Method Details
#to_have_been_performed ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/evil/client/rspec/expect_stub.rb', line 7 def to_have_been_performed expect(Evil::Client::Container::Operation) .to have_received(:new) .with evil_client_schema_matching(@klass, @name), *any_args, # logger @condition || anything end |