Sha256: e39f36c53aadb0b9830858329ef14f3adc721870a31d5bc72d7af2929f520e18

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

require 'spec_helper'

describe 'Veritas::Attribute#inspect' do
  subject { object.inspect }

  let(:klass)  { Attribute::Integer }
  let(:object) { klass.new(:id)     }

  it { should be_kind_of(String) }

  it { should == '<Attribute::Integer name: id>' }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.2 spec/unit/veritas/attribute/inspect_spec.rb