Sha256: 6a6586be1e9a57c2b1eae16da3a26d9e358f7414390c2876f26d90e9aee8f251

Contents?: true

Size: 238 Bytes

Versions: 17

Compression:

Stored size: 238 Bytes

Contents

require 'spec_helper'

describe "InvalidEvents" do

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