diff --git a/lib/shoulda/matchers/util/word_wrap.rb b/lib/shoulda/matchers/util/word_wrap.rb index 8f6077d25..5962e0167 100644 --- a/lib/shoulda/matchers/util/word_wrap.rb +++ b/lib/shoulda/matchers/util/word_wrap.rb @@ -5,7 +5,7 @@ module WordWrap TERMINAL_WIDTH = 72 def word_wrap(document, options = {}) - Document.new(document, options).wrap + Document.new(document, **options).wrap end end