Sha256: 8b9817ddd7bdd0c0f947848496eae624c91b0c852452234810b3c617ea0f69a3

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Tuple, '#inspect' do
  subject { object.inspect }

  let(:header) { Relation::Header.new([ [ :id, Integer ] ]) }
  let(:object) { described_class.new(header, [ 1 ])         }

  it { should be_kind_of(String) }

  it { should == '[1]' }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/tuple/inspect_spec.rb