Sha256: 5df372875e6d6e09b164400ba087da82d901d04d8fbbe3506a20e5356c2e2051

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

require 'spec_helper'

describe 'Veritas::Relation::Materialized#size' do
  subject { object.size }

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

  it_should_behave_like 'an idempotent method'

  it { should == 1 }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.2 spec/unit/veritas/relation/materialized/size_spec.rb