Sha256: 3d27dd47a7c5a1b1c59ae0274067464b317726a2f3396e3d4b8fb087668348d8

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  before do
    object.should be_instance_of(described_class)
  end

  it { should be(false) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.1 spec/unit/axiom/relation/materialized_predicate_spec.rb