class MatcherByDefaultTest
Public Instance Methods
setup()
click to toggle source
# File test/unit/matcher_test.rb, line 4 def setup @matcher = StateMachine::Matcher.new end
test_should_filter_all_values()
click to toggle source
# File test/unit/matcher_test.rb, line 12 def test_should_filter_all_values assert_equal [], @matcher.filter([:parked, :idling]) end
test_should_have_no_values()
click to toggle source
# File test/unit/matcher_test.rb, line 8 def test_should_have_no_values assert_equal [], @matcher.values end