summaryrefslogtreecommitdiff
path: root/qa/qa/support/matchers/eventually_matcher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/support/matchers/eventually_matcher.rb')
-rw-r--r--qa/qa/support/matchers/eventually_matcher.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/qa/qa/support/matchers/eventually_matcher.rb b/qa/qa/support/matchers/eventually_matcher.rb
index 3f451f89246..3fdc5b711b0 100644
--- a/qa/qa/support/matchers/eventually_matcher.rb
+++ b/qa/qa/support/matchers/eventually_matcher.rb
@@ -22,6 +22,7 @@ module QA
be
include
match
+ have_content
be_truthy
be_falsey
be_empty
@@ -140,9 +141,9 @@ module QA
# @param [Boolean] negate
# @return [String]
def fail_message(negate: false)
- "#{e}:\n\nexpected #{negate ? 'not ' : ''}to #{description}\n\n"\
- "last attempt was: #{@result.nil? ? 'nil' : actual_formatted}\n\n"\
- "Diff:#{diff}"
+ "#{e}:\n\nexpected #{negate ? 'not ' : ''}to #{description}\n\n" \
+ "last attempt was: #{@result.nil? ? 'nil' : actual_formatted}\n\n" \
+ "Diff:#{diff}"
end
# Formatted expect