Sha256: ef79a7a12e1d7ff12fabb2fdf967830bb8d9d03aef69a225a13e5507b5344b9f
Contents?: true
Size: 425 Bytes
Versions: 20
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true require "spec_helper" require "json" describe Statesman::Adapters::ActiveRecordTransition do let(:transition_class) { Class.new { def self.serialize(*_args); end } } describe "including behaviour" do it "calls Class.serialize" do expect(transition_class).to receive(:serialize).with(:metadata, JSON).once transition_class.send(:include, described_class) end end end
Version data entries
20 entries across 20 versions & 1 rubygems