Sha256: 4464aca6db297b061a651e2d087f217c4717f65de1b2fe66f1f2e1f493230662
Contents?: true
Size: 639 Bytes
Versions: 8
Compression:
Stored size: 639 Bytes
Contents
require 'pathname' require Pathname(__FILE__).dirname.expand_path.parent + 'spec_helper' describe "InvalidTransitions1" do it "should get InvalidContext when requiring" do lambda { require File.join( File.dirname(__FILE__), "..", "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 File.join( File.dirname(__FILE__), "..", "examples", "invalid_transitions_2" ) }.should raise_error(DataMapper::Is::StateMachine::InvalidContext) end end
Version data entries
8 entries across 8 versions & 1 rubygems