class Sloe::Expectations::Junos::NonJnprSfp

Public Instance Methods

failure_message_for_should_not() click to toggle source
# File lib/sloe/expectations.rb, line 98
def failure_message_for_should_not
  'Found NON Juniper SFP on chassis'
end
match(actual) click to toggle source
# File lib/sloe/expectations.rb, line 94
def match(actual)
  actual.text.strip != "NON-JNPR"
end