Sha256: 8a422cf8ba1803e2cfafd5f836e35c29adfae10065b66670031605d0b758abed
Contents?: true
Size: 378 Bytes
Versions: 5
Compression:
Stored size: 378 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Evaluator::Context, '#[]' do subject { object[name] } let(:name) { :id } let(:attribute) { Attribute::Integer.new(name) } let(:header) { Relation::Header.new([ attribute ]) } let(:object) { described_class.new(header) {} } it { should equal(attribute) } end
Version data entries
5 entries across 5 versions & 2 rubygems