16

using the new expect syntax:

 expect(@line.filter_results_and_display_them).to == @processed

Getting this error:

ArgumentError: The expect syntax does not support operator matchers, so you must pass a matcher to '#to'

user1317221_G
  • 15,087
  • 3
  • 52
  • 78
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497

1 Answers1

21

This syntax works:

expect(@line.filter_results_and_display_them).to eq @processed
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497