O'Reilly logo
  • Andrew Lobban thinks this is interesting:

The general form of an RSpec expectation is expect(actual_value).to(matcher), with the parentheses around the matcher often omitted in practice.

From

Cover of Rails 4 Test Prescriptions

Note

illustrates the structure of an expectation.