From 98fc25991137ee09b6800578117f8c1c322680f2 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Sat, 29 Nov 2014 17:22:17 -0700 Subject: Remove `engine` from `TreeManager` and subclasses This constructor parameter was unused for everything except the convenience methods `to_sql` and `where_sql`. We can pass the engine into those methods directly. --- test/test_table.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/test_table.rb') diff --git a/test/test_table.rb b/test/test_table.rb index 394a755727..e8eaf901cc 100644 --- a/test/test_table.rb +++ b/test/test_table.rb @@ -179,10 +179,6 @@ module Arel @relation.table_name.must_equal 'users' end - it "should have an engine" do - @relation.engine.must_equal Table.engine - end - describe '[]' do describe 'when given a Symbol' do it "manufactures an attribute if the symbol names an attribute within the relation" do -- cgit v1.2.3