Sha256: 6813a8a12e4505c2898453aa36d570a203c313427ad9a29efb8d216ce4c5c4e2
Contents?: true
Size: 775 Bytes
Versions: 2
Compression:
Stored size: 775 Bytes
Contents
require 'spec_helper' describe StateMachines::MatcherHelpers do context 'All' do include StateMachines::MatcherHelpers before(:each) do @matcher = all end it 'should_build_an_all_matcher' do assert_equal StateMachines::AllMatcher.instance, @matcher end end context 'Any' do include StateMachines::MatcherHelpers before(:each) do @matcher = any end it 'should_build_an_all_matcher' do assert_equal StateMachines::AllMatcher.instance, @matcher end end context 'Same' do include StateMachines::MatcherHelpers before(:each) do @matcher = same end it 'should_build_a_loopback_matcher' do assert_equal StateMachines::LoopbackMatcher.instance, @matcher end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
state_machines-0.0.2 | spec/state_machines/matcher_helpers_spec.rb |
state_machines-0.0.1 | spec/matcher_helpers_spec.rb |