Sha256: 31ef97f7a0635a6d89e394d8d2bd8b5a590fd16dce3288c7217f217c3f83c4d2
Contents?: true
Size: 442 Bytes
Versions: 3
Compression:
Stored size: 442 Bytes
Contents
require 'spec_helper' module Arel module Predicates describe Polyadic do before do @relation1 = Arel::Table.new(:users) @relation2 = Arel::Table.new(:photos) @a = @relation1[:id] @b = @relation2[:user_id] end describe '==' do left = Polyadic.new @a, @b right = Polyadic.new @b, @a left.should != right left.should == right end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
arel-1.0.1 | spec/algebra/unit/predicates/predicate_spec.rb |
arel-1.0.0 | spec/algebra/unit/predicates/predicate_spec.rb |
arel-1.0.0.rc1 | spec/algebra/unit/predicates/predicate_spec.rb |