Skip to content

Commit

Permalink
Add missing docs.
Browse files Browse the repository at this point in the history
This gets us back to 100% YARD doc coverage and
should get our build back to green.
  • Loading branch information
myronmarston committed Mar 31, 2014
1 parent 3b79319 commit 453865a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rspec/matchers/built_in/exist.rb
Expand Up @@ -21,10 +21,14 @@ def does_not_match?(actual)
valid_test? && !actual_exists?
end

# @api private
# @return [String]
def failure_message
"expected #{@actual.inspect} to exist#{validity_message}"
end

# @api private
# @return [String]
def failure_message_when_negated
"expected #{@actual.inspect} not to exist#{validity_message}"
end
Expand Down

0 comments on commit 453865a

Please sign in to comment.