Sha256: 25ab1c6ebc4d42c4319edd83515ddb6f93d78b9442890ecf814b7b06b628b817

Contents?: true

Size: 259 Bytes

Versions: 5

Compression:

Stored size: 259 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  it_should_behave_like 'an idempotent method'

  it { should == 1 }
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/relation/materialized/size_spec.rb
veritas-0.0.7 spec/unit/veritas/relation/materialized/size_spec.rb
veritas-0.0.6 spec/unit/veritas/relation/materialized/size_spec.rb
veritas-0.0.5 spec/unit/veritas/relation/materialized/size_spec.rb
veritas-0.0.4 spec/unit/veritas/relation/materialized/size_spec.rb