spec/spec_helper.rb in statemachine-0.0.1 vs spec/spec_helper.rb in statemachine-0.0.2
- old
+ new
@@ -1,5 +1,6 @@
-require File.dirname(__FILE__) + '/../lib/state_machine'
+$:.unshift('lib')
+require 'statemachine'
def check_transition(transition, origin_id, destination_id, event, action)
transition.should_not_be nil
transition.event.should_be event
transition.action.should_be action
\ No newline at end of file