lib/spectus/result/pass.rb in spectus-2.2.0 vs lib/spectus/result/pass.rb in spectus-2.3.0
- old
+ new
@@ -4,9 +4,14 @@
module Result
# The class that is responsible for reporting that the expectation is true.
class Pass
include Base
+ # @!attribute [r] message
+ #
+ # @return [String] The message that describe the state.
+ attr_reader :message
+
# The value of the expectation of the spec.
#
# @return [Boolean] the spec was true.
def result?
true