module StateMachinesRspec::Matchers

Public Instance Methods

handle_event(value, *values)
Alias for: handle_events
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_state(state, *states)
Alias for: have_states
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_event(value, *values)
Alias for: reject_events
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_state(state, *states)
Alias for: reject_states
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
transition_from(*values) click to toggle source
# File lib/matchers/transitions/transition_from.rb, line 5
def transition_from(*values)
  HandleTransitionFromMatcher.new(*values)
end
Also aliased as: transitions_from
transitions_from(*values)
Alias for: transition_from