Rspec expectation snippet