aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/fixtures/mixin.rb2
-rw-r--r--activerecord/test/mixin_test.rb1
2 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/mixin.rb b/activerecord/test/fixtures/mixin.rb
index 8cae604140..6da85e55e7 100644
--- a/activerecord/test/fixtures/mixin.rb
+++ b/activerecord/test/fixtures/mixin.rb
@@ -4,7 +4,7 @@ class Mixin < ActiveRecord::Base
end
class ListMixin < ActiveRecord::Base
- acts_as_list :column => "pos", :scope => :parent_id
+ acts_as_list :column => "pos", :scope => :parent
def self.table_name
"mixins"
diff --git a/activerecord/test/mixin_test.rb b/activerecord/test/mixin_test.rb
index 31e71f5d6c..107d6d2f0a 100644
--- a/activerecord/test/mixin_test.rb
+++ b/activerecord/test/mixin_test.rb
@@ -1,7 +1,6 @@
require 'abstract_unit'
require 'active_record/mixins/tree'
require 'active_record/mixins/list'
-require 'active_record/mixins/touch'
require 'fixtures/mixin'