Sha256: cc3d1a5f8259a354bb59ecd7e1c0d92f283df3cb6dd91da0ac1db82bc53b6b5e

Contents?: true

Size: 302 Bytes

Versions: 4

Compression:

Stored size: 302 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  before do
    object.should be_instance_of(described_class)
  end

  it { should be(true) }
end

Version data entries

4 entries across 4 versions & 2 rubygems

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