Use rspec expectation matchers