rspec mocks snippets