Sha256: 88c9ac804078d791b9f62baf5fc616f6e1f1ef0fb37f579f3f1b7cdbcde66867
Contents?: true
Size: 354 Bytes
Versions: 9
Compression:
Stored size: 354 Bytes
Contents
require "spec_helper" require "json" describe Statesman::Adapters::ActiveRecordTransition do let(:transition_class) { Class.new } describe "including behaviour" do it "calls Class.serialize" do transition_class.should_receive(:serialize).with(:metadata, JSON).once transition_class.send(:include, described_class) end end end
Version data entries
9 entries across 9 versions & 1 rubygems