spec/arel/engines/sql/unit/predicates/in_spec.rb in arel-0.1.2 vs spec/arel/engines/sql/unit/predicates/in_spec.rb in arel-0.2.pre
- old
+ new
@@ -2,10 +2,10 @@
module Arel
module Predicates
describe In do
before do
- @relation = Table.new(:users)
+ @relation = Arel::Table.new(:users)
@attribute = @relation[:id]
end
describe '#to_sql' do
describe 'when relating to an array' do