Sha256: 9e9c0e10dee83a3fdb81e8b4d619fdabe834e05090c41332f46be25be93d61bc
Contents?: true
Size: 347 Bytes
Versions: 9
Compression:
Stored size: 347 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Relation::Custom do it "should assign parent" do parent = Factory(:relation_custom) sphere = parent.sphere r = Relation::Custom.create! :name => "test", :sphere_id => sphere.id r.parent.should eq(parent) end end
Version data entries
9 entries across 9 versions & 2 rubygems