module StateMachinesRspec::Matchers
Public Instance Methods
handle_events(value, *values)
click to toggle source
# File lib/matchers/events/handle_event.rb, line 5 def handle_events(value, *values) HandleEventMatcher.new(values.unshift(value)) end
Also aliased as: handle_event
have_states(state, *states)
click to toggle source
# File lib/matchers/states/have_state.rb, line 5 def have_states(state, *states) HaveStateMatcher.new(states.unshift(state)) end
Also aliased as: have_state
reject_events(value, *values)
click to toggle source
# File lib/matchers/events/reject_event.rb, line 5 def reject_events(value, *values) RejectEventMatcher.new(values.unshift(value)) end
Also aliased as: reject_event
reject_states(state, *states)
click to toggle source
# File lib/matchers/states/reject_state.rb, line 5 def reject_states(state, *states) RejectStateMatcher.new(states.unshift(state)) end
Also aliased as: reject_state