Sha256: 2671bb578f7331139313d354cedf627f7baf2af6b3dc185b69365d103e1ad83a
Contents?: true
Size: 407 Bytes
Versions: 1
Compression:
Stored size: 407 Bytes
Contents
require 'spec_helper' describe 'Veritas::Relation#[]' do subject { object[name] } let(:klass) { Relation } let(:name) { :id } let(:attribute) { Attribute::Integer.new(name) } let(:object) { klass.new([ attribute ], [].each) } before do object.should be_instance_of(klass) end it { should equal(attribute) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.2 | spec/unit/veritas/relation/element_reference_spec.rb |