spec/arel/algebra/unit/predicates/equality_spec.rb in arel-0.1.2 vs spec/arel/algebra/unit/predicates/equality_spec.rb in arel-0.2.pre
- old
+ new
@@ -2,11 +2,11 @@
module Arel
module Predicates
describe Equality do
before do
- @relation1 = Table.new(:users)
- @relation2 = Table.new(:photos)
+ @relation1 = Arel::Table.new(:users)
+ @relation2 = Arel::Table.new(:photos)
@attribute1 = @relation1[:id]
@attribute2 = @relation2[:user_id]
end
describe '==' do