spec/statesman/adapters/shared_examples.rb in statesman-8.0.3 vs spec/statesman/adapters/shared_examples.rb in statesman-9.0.0
- old
+ new
@@ -126,9 +126,10 @@
before { adapter.create(:y, :z) }
it { is_expected.to be_a(transition_class) }
specify { expect(adapter.last.to_state.to_sym).to eq(:z) }
+
specify do
expect(adapter.last(force_reload: true).to_state.to_sym).to eq(:z)
end
end
end