Sha256: 616992afa3eaa34286e1e6f17bdb4eb7d979b740d06cd5af783157d95cc505b8
Contents?: true
Size: 452 Bytes
Versions: 12
Compression:
Stored size: 452 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe "When using the ParentPersistenceStrategy" do context "a new child object" do before do class ParentThing < ActiveTriples::Resource property :child, predicate: RDF::URI('http://example.org/#child') end class ChildThing < ActiveTriples::Resource; end end subject { ParentThing.new.child.build } it { is_expected.not_to be_persisted } end end
Version data entries
12 entries across 12 versions & 1 rubygems