summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-03-30 18:00:37 -0600
committerHombreLaser <sebastian-440@live.com>2023-03-30 18:00:37 -0600
commit564203bace85c06d0de16ad5d6c2ac540642d84e (patch)
tree2fa202a85147316df065957a29126c08dc140940 /spec/support
parent2ae0cd8a8dc6d630ee1a7a84ddf6111609dbdeb7 (diff)
Añade specs de CardsController
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/include_strings.rb2
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