word_wrap: fix Ruby 2.7 warning

This fixes the following warning:

```
vendor/gems/ruby/2.7.0/gems/shoulda-matchers-4.3.0/lib/shoulda/matchers/util/word_wrap.rb:8: 
  warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
```
This commit is contained in:
Fatih Arslan 2020-07-08 11:47:56 -07:00 committed by Elliot Winkler
parent 97b97015f4
commit ef821507b1
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module Shoulda
TERMINAL_WIDTH = 72
def word_wrap(document, options = {})
Document.new(document, options).wrap
Document.new(document, **options).wrap
end
end