class Adyen::Matchers::HaveAdyenPaymentForm
Public Class Methods
new(checks)
click to toggle source
# File lib/adyen/matchers.rb 41 def initialize(checks) 42 @checks = checks 43 end
Public Instance Methods
description()
click to toggle source
# File lib/adyen/matchers.rb 49 def description 50 "have an adyen payment form" 51 end
failure_message()
click to toggle source
# File lib/adyen/matchers.rb 53 def failure_message 54 "expected to find a valid Adyen form on this page" 55 end
matches?(document)
click to toggle source
# File lib/adyen/matchers.rb 45 def matches?(document) 46 Adyen::Matchers::XPathPaymentFormCheck.check(document, @checks) 47 end
negative_failure_message()
click to toggle source
# File lib/adyen/matchers.rb 57 def negative_failure_message 58 "expected not to find a valid Adyen form on this page" 59 end