Sha256: c4da4db6353e9ffc73996065966f58b341e6dbf649e8490f1ceec98bedc96748
Contents?: true
Size: 436 Bytes
Versions: 7
Compression:
Stored size: 436 Bytes
Contents
require 'spec_helper' describe DataMapper::Property::Discriminator do before :all do Object.send(:remove_const, :Foo) if defined?(Foo) Object.send(:remove_const, :Bar) if defined?(Bar) class ::Foo; end class ::Bar; end @name = :type @type = described_class @value = Foo @other_value = Bar @invalid_value = 1 end it_should_behave_like 'A semipublic Property' end
Version data entries
7 entries across 7 versions & 3 rubygems