rspec/rspec-mocks — pull request #802 by samphippen (2014-10-21 11:46:40+00:00)
Title: Trim line length in error generator

in #751 @JonRowe suggested trimming the line length in error_generator.rb. This patch does that via use of a string join over the parts of the string that were getting built. I prefer this solution to breaking a long string over many lines or shovelling because parts can easily be added/removed from the lists that are joined together.

Thoughts?