Sha256: d9f3bf228c7878f52d4ca1dc2d62a7f643a69a0598d7d229f7fdedbd6609a7d3
Contents?: true
Size: 442 Bytes
Versions: 1
Compression:
Stored size: 442 Bytes
Contents
require 'spec_helper' describe StateMachines::InvalidParallelTransition do before(:each) do @object = Object.new @events = [:ignite, :disable_alarm] @invalid_transition = StateMachines::InvalidParallelTransition.new(@object, @events) end it 'should_have_an_object' do expect(@invalid_transition.object).to eq(@object) end it 'should_have_events' do expect(@invalid_transition.events).to eq(@events) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
state_machines-0.0.2 | spec/state_machines/invalid_parallel_transition_spec.rb |