Sha256: e5ed74768bdd3cf0bb516bbc7d09ed97b60af1477a59bd33d0481bcbb3d1c93e
Contents?: true
Size: 419 Bytes
Versions: 25
Compression:
Stored size: 419 Bytes
Contents
require 'spec_helper' describe StorageRoom::CompoundField do before(:each) do @field = StorageRoom::CompoundField.new(:identifier => 'identifier') end context "Methods" do describe "#add_to_entry_class" do it "should add one" do klass = StorageRoom::Entry klass.should_receive(:one).with('identifier') @field.add_to_entry_class(klass) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems