small modification to rspec snippets