spec/statesman/adapters/shared_examples.rb in statesman-11.0.0 vs spec/statesman/adapters/shared_examples.rb in statesman-12.0.0
- old
+ new
@@ -1,8 +1,6 @@
# frozen_string_literal: true
-require "spec_helper"
-
# All adpators must define seven methods:
# initialize: Accepts a transition class, parent model and state_attr.
# transition_class: Returns the transition class object passed to initialize.
# parent_model: Returns the model class object passed to initialize.
# state_attr: Returns the state attribute to set on the parent.