Sha256: 2e73061ee9179b5df17b945323ded96161b40a5efa8a1983fdb6733d5c1ef29a

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

require 'spec_helper'

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

  let(:klass)     { Relation::Header         }
  let(:attribute) { [ :id, Integer ]         }
  let(:object)    { klass.new([ attribute ]) }

  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/relation/header/inspect_spec.rb