Sha256: 40f2999acbd729f9763be4ec687b7c17c3c68781add3348ad512ad11502d5dd1
Contents?: true
Size: 427 Bytes
Versions: 1
Compression:
Stored size: 427 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation, '#[]' do subject { object[name] } let(:name) { :id } let(:attribute) { Attribute::Integer.new(name) } let(:object) { described_class.new([attribute], LazyEnumerable.new) } before do object.should be_instance_of(described_class) end it { should be(attribute) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | spec/unit/axiom/relation/element_reader_spec.rb |