module TarkaMatchers::Matchers::Expectation

Public Instance Methods

fail() click to toggle source
# File lib/tarka_matchers/matchers/expectation/fail.rb, line 5
def  fail
        Fail.new
end
have_a_description_of(expected) click to toggle source
# File lib/tarka_matchers/matchers/expectation/have_a_description_of.rb, line 7
def  have_a_description_of expected                   
        HaveADescriptionOf.new expected
end
have_a_failure_message_of(expected) click to toggle source
# File lib/tarka_matchers/matchers/expectation/have_a_failure_message_of.rb, line 7
def  have_a_failure_message_of expected
        HaveAFailureMessageOf.new expected
end
have_a_failure_message_when_negated_of(expected) click to toggle source
# File lib/tarka_matchers/matchers/expectation/have_a_failure_message_when_negated_of.rb, line 7
def  have_a_failure_message_when_negated_of expected
        HaveAFailureMessageWhenNegatedOf.new expected
end
pass() click to toggle source
# File lib/tarka_matchers/matchers/expectation/pass.rb, line 5
def  pass
        Pass.new
end
support_block_expectations() click to toggle source
# File lib/tarka_matchers/matchers/expectation/support_block_expectations.rb, line 5
def  support_block_expectations
        SupportBlockExpectations.new
end