diff options
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/include_strings.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/include_strings.rb b/spec/support/include_strings.rb index bddff1a..3671c35 100644 --- a/spec/support/include_strings.rb +++ b/spec/support/include_strings.rb @@ -5,7 +5,7 @@ RSpec::Matchers.define :include_strings do |expected| match do |actual| includes_strings = true expected.each do |s| - includes_strings = false unless actual.include?(s) + includes_strings = false unless actual.include?(s.to_s) end includes_strings end |