Sha256: 0441cf807b4b7de4b3ca42676e7f0c29a15044db4fcbe5e41ef4f21dc8a322ec

Contents?: true

Size: 238 Bytes

Versions: 17

Compression:

Stored size: 238 Bytes

Contents

require 'spec_helper'

describe "InvalidStates" do

  it "should get InvalidContext when requiring" do
    lambda {
      require 'examples/invalid_states'
    }.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_states_spec.rb
dm-is-state_machine-1.2.0 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.2.0.rc2 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.2.0.rc1 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.1.0 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.1.0.rc3 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.1.0.rc2 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.1.0.rc1 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.0.2 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.0.1 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.0.0 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.0.0.rc3 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.0.0.rc2 spec/integration/invalid_states_spec.rb
dm-is-state_machine-1.0.0.rc1 spec/integration/invalid_states_spec.rb
dm-is-state_machine-0.10.2 spec/integration/invalid_states_spec.rb
dm-is-state_machine-0.10.1 spec/integration/invalid_states_spec.rb
dm-is-state_machine-0.10.0 spec/integration/invalid_states_spec.rb