Sha256: 39c634a3cbb1484d95d9e9063a5580045841b20ebdcf063f50bc3171d20d4d28

Contents?: true

Size: 480 Bytes

Versions: 17

Compression:

Stored size: 480 Bytes

Contents

require 'spec_helper'

describe "InvalidTransitions1" do

  it "should get InvalidContext when requiring" do
    lambda {
      require 'examples/invalid_transitions_1'
    }.should raise_error(DataMapper::Is::StateMachine::InvalidContext)
  end

end

describe "InvalidTransitions2" do

  it "should get InvalidContext when requiring" do
    lambda {
      require 'examples/invalid_transitions_2'
    }.should raise_error(DataMapper::Is::StateMachine::InvalidContext)
  end

end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
ardm-is-state_machine-1.2.0 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.2.0 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.2.0.rc2 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.2.0.rc1 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.1.0 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.1.0.rc3 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.1.0.rc2 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.1.0.rc1 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.0.2 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.0.1 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.0.0 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.0.0.rc3 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.0.0.rc2 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-1.0.0.rc1 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-0.10.2 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-0.10.1 spec/integration/invalid_transitions_spec.rb
dm-is-state_machine-0.10.0 spec/integration/invalid_transitions_spec.rb