aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/engines/sql/unit/relations/join_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/arel/engines/sql/unit/relations/join_spec.rb')
-rw-r--r--spec/arel/engines/sql/unit/relations/join_spec.rb21
1 files changed, 0 insertions, 21 deletions
diff --git a/spec/arel/engines/sql/unit/relations/join_spec.rb b/spec/arel/engines/sql/unit/relations/join_spec.rb
index ea17f8106f..1f43101133 100644
--- a/spec/arel/engines/sql/unit/relations/join_spec.rb
+++ b/spec/arel/engines/sql/unit/relations/join_spec.rb
@@ -8,27 +8,6 @@ module Arel
@predicate = @relation1[:id].eq(@relation2[:user_id])
end
- describe 'hashing' do
- it 'implements hash equality' do
- InnerJoin.new(@relation1, @relation2, @predicate) \
- .should hash_the_same_as(InnerJoin.new(@relation1, @relation2, @predicate))
- end
- end
-
- describe '#engine' do
- it "delegates to a relation's engine" do
- InnerJoin.new(@relation1, @relation2, @predicate).engine.should == @relation1.engine
- end
- end
-
- describe '#attributes' do
- it 'combines the attributes of the two relations' do
- join = InnerJoin.new(@relation1, @relation2, @predicate)
- join.attributes.should ==
- (@relation1.attributes + @relation2.attributes).collect { |a| a.bind(join) }
- end
- end
-
describe '#to_sql' do
describe 'when joining with another relation' do
it 'manufactures sql joining the two tables on the predicate' do