Sha256: d6aeff215a1af3142f68b9c8246f08bd4a74c0412227505a2cd5a7fe77500b88

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

shared_examples_for 'Attribute#inspect' do
  subject { attribute.inspect }

  let(:attribute) { described_class.new(attribute_name) }

  it { should == "#<#{described_class.inspect} @name=#{attribute_name.inspect}>" }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
virtus-0.0.10 spec/unit/shared/attribute/inspect.rb
virtus-0.0.9 spec/unit/shared/attribute/inspect.rb
virtus-0.0.8 spec/unit/shared/attribute/inspect.rb
virtus-0.0.7 spec/unit/shared/attribute/inspect.rb
virtus-0.0.6 spec/unit/shared/attribute/inspect.rb