Method: RSpec::Core::MemoizedHelpers#is_expected
- Defined in:
- lib/rspec/core/memoized_helpers.rb
permalink #is_expected ⇒ void
Note:
This only works if you are using rspec-expectations.
Wraps the subject
in expect
to make it the target of an expectation.
Designed to read nicely for one-liners.
120 121 122 |
# File 'lib/rspec/core/memoized_helpers.rb', line 120 def is_expected expect(subject) end |