Fix Ruby snippets according to coding style
Remove trailing line breaks in "should_receive" and "stub" snippets