Module: Simple::Service::ServiceExpectations
- Defined in:
- lib/simple/service.rb
Instance Method Summary collapse
Instance Method Details
#expect!(*args, &block) ⇒ Object
52 53 54 55 56 |
# File 'lib/simple/service.rb', line 52 def expect!(*args, &block) Expectation.expect!(*args, &block) rescue ::Expectation::Error => e raise ArgumentError, e.to_s end |