Class: Evil::Client::RSpec::BaseStub
- Inherits:
-
Object
- Object
- Evil::Client::RSpec::BaseStub
- Includes:
- RSpec::Matchers, RSpec::Mocks::ExampleMethods
- Defined in:
- lib/evil/client/rspec/base_stub.rb
Overview
Container to chain settings for stubbing operation(s)
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#with(condition = nil, &block) ⇒ Object
10 11 12 |
# File 'lib/evil/client/rspec/base_stub.rb', line 10 def with(condition = nil, &block) update(condition || block) end |