class HammerCLI::Testing::OutputMatchers::MatcherBase
Public Class Methods
new(expected="")
click to toggle source
# File lib/hammer_cli/testing/output_matchers.rb, line 7 def initialize(expected="") @expected = expected end
Public Instance Methods
assert_match(actual)
click to toggle source
# File lib/hammer_cli/testing/output_matchers.rb, line 11 def assert_match(actual) assert_equal(@expected, actual) end