Sha256: 3e18b237d3aa3667e8a594d911c0e558255ef559952b3671cd8b072ecef6ce41

Contents?: true

Size: 454 Bytes

Versions: 14

Compression:

Stored size: 454 Bytes

Contents

require_relative '../../test_helper'

class InvalidParallelTransitionTest < StateMachinesTest
  def setup
    @object = Object.new
    @events = [:ignite, :disable_alarm]

    @invalid_transition = StateMachines::InvalidParallelTransition.new(@object, @events)
  end

  def test_should_have_an_object
    assert_equal @object, @invalid_transition.object
  end

  def test_should_have_events
    assert_equal @events, @invalid_transition.events
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
state_machines-0.5.0 test/unit/invalid_transition/invalid_parallel_transition_test.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/state_machines-0.2.2/test/unit/invalid_transition/invalid_parallel_transition_test.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/state_machines-0.2.2/test/unit/invalid_transition/invalid_parallel_transition_test.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/state_machines-0.2.2/test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.4.0 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.3.0 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.2.2 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.2.1 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.2.0 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.1.4 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.1.3 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.1.2 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.1.1 test/unit/invalid_transition/invalid_parallel_transition_test.rb
state_machines-0.1.0 test/unit/invalid_transition/invalid_parallel_transition_test.rb