aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/relation_test.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/activerecord/test/cases/relation_test.rb b/activerecord/test/cases/relation_test.rb
index 4b18c37d27..9c8a88c3ed 100644
--- a/activerecord/test/cases/relation_test.rb
+++ b/activerecord/test/cases/relation_test.rb
@@ -19,11 +19,6 @@ module ActiveRecord
assert !relation.loaded, 'relation is not loaded'
end
- def test_single_values
- assert_equal [:limit, :offset, :lock, :readonly, :from, :reordering, :reverse_order, :uniq].map(&:to_s).sort,
- Relation::SINGLE_VALUE_METHODS.map(&:to_s).sort
- end
-
def test_initialize_single_values
relation = Relation.new :a, :b
Relation::SINGLE_VALUE_METHODS.each do |method|
@@ -31,11 +26,6 @@ module ActiveRecord
end
end
- def test_association_methods
- assert_equal [:includes, :eager_load, :preload].map(&:to_s).sort,
- Relation::ASSOCIATION_METHODS.map(&:to_s).sort
- end
-
def test_initialize_association_methods
relation = Relation.new :a, :b
Relation::ASSOCIATION_METHODS.each do |method|
@@ -43,11 +33,6 @@ module ActiveRecord
end
end
- def test_multi_value_methods
- assert_equal [:select, :group, :order, :joins, :where, :having, :bind, :references].map(&:to_s).sort,
- Relation::MULTI_VALUE_METHODS.map(&:to_s).sort
- end
-
def test_multi_value_initialize
relation = Relation.new :a, :b
Relation::MULTI_VALUE_METHODS.each do |method|