Module: RSpec::ExpectationHelper::Its
- Includes:
- Shared
- Defined in:
- lib/r_spec/expectation_helper/its.rb
Overview
Dsl.its‘s expectation helper module.
Instance Method Summary collapse
-
#is_expected ⇒ Block
Wraps the target of an expectation with the actual value.
Instance Method Details
#is_expected ⇒ Block
Wraps the target of an expectation with the actual value.
20 21 22 |
# File 'lib/r_spec/expectation_helper/its.rb', line 20 def is_expected ExpectationTarget::Block.new(method(:actual)) end |