Sha256: f69d5ca340a19133b1335fa8c2bd975509cefbef10ac936d9d14858bbb7b773e

Contents?: true

Size: 239 Bytes

Versions: 4

Compression:

Stored size: 239 Bytes

Contents

require 'spec_helper'

describe Anima, '#attributes' do
  subject { object.attributes }

  let(:object) { described_class.new(:foo) }

  it { should eql([Anima::Attribute.new(:foo)]) }
  it { should be_frozen                         }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
anima-0.0.7 spec/unit/anima/attributes_spec.rb
anima-0.0.6 spec/unit/anima/attributes_spec.rb
anima-0.0.5 spec/unit/anima/attributes_spec.rb
anima-0.0.4 spec/unit/anima/attributes_spec.rb