spec/statesman/adapters/shared_examples.rb in statesman-3.2.0 vs spec/statesman/adapters/shared_examples.rb in statesman-3.3.0

- old
+ new

@@ -9,10 +9,9 @@ # optional metadata. Creates a new transition class # instance and saves metadata to it. # history: Returns the full transition history # last: Returns the latest transition history item # -# rubocop:disable Metrics/LineLength # NOTE This line cannot reasonably be shortened. shared_examples_for "an adapter" do |adapter_class, transition_class, options = {}| # rubocop:enable Metrics/LineLength let(:observer) { double(Statesman::Machine, execute: nil) }