Method: Transpec::Converter#process_should
- Defined in:
- lib/transpec/converter.rb
#process_should(should) ⇒ Object
57 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/transpec/converter.rb', line 57 def process_should(should) if @configuration.convert_should? should.expectize!( @configuration.negative_form_of_to, @configuration.parenthesize_matcher_arg? ) end if should.have_matcher && @configuration.convert_have_items? should.have_matcher.convert_to_standard_expectation! end end |