class Webspicy::Tester::Result::PostconditionMet

Attributes

post[R]

Public Class Methods

new(result, post) click to toggle source
Calls superclass method Webspicy::Tester::Result::Check::new
# File lib/webspicy/tester/result/postcondition_met.rb, line 6
def initialize(result, post)
  super(result)
  @post = post
end

Public Instance Methods

behavior() click to toggle source
# File lib/webspicy/tester/result/postcondition_met.rb, line 12
def behavior
  post.to_s
end
call() click to toggle source
# File lib/webspicy/tester/result/postcondition_met.rb, line 20
def call
  post.check!
end
must?() click to toggle source
# File lib/webspicy/tester/result/postcondition_met.rb, line 16
def must?
  true
end