Sha256: c8f339f7d80b9e23747dc6572bbf15ab9c3b357e03ce6d89d69a1982293ff582

Contents?: true

Size: 320 Bytes

Versions: 10

Compression:

Stored size: 320 Bytes

Contents

require 'spec_helper'

describe Virtus::AttributeSet, '#parent' do
  subject { object.parent }

  let(:attributes) { []                                      }
  let(:parent)     { described_class.new                     }
  let(:object)     { described_class.new(parent, attributes) }

  it { should equal(parent) }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
virtus-0.3.0 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.2.0 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.1.0 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.0.10 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.0.9 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.0.8 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.0.7 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.0.6 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.0.5 spec/unit/virtus/attribute_set/parent_spec.rb
virtus-0.0.4 spec/unit/virtus/attribute_set/parent_spec.rb