Sha256: add79aed2f057091fd4abbfbf099ee5074da4ae6d957124bd5135878dc035eb7
Contents?: true
Size: 403 Bytes
Versions: 4
Compression:
Stored size: 403 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 ], [].each) } before do object.should be_instance_of(described_class) end it { should equal(attribute) } end
Version data entries
4 entries across 4 versions & 1 rubygems