1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/associations
Sean Griffin d26dd00854 WhereClause#predicates does not need to be public
The only place it was accessed was in tests. Many of them have another
way that they can test their behavior, that doesn't involve reaching
into internals as far as they did. `AssociationScopeTest` is testing a
situation where the where clause would have one bind param per
predicate, so it can just ignore the predicates entirely. The where
chain test was primarly duplicating the logic tested on `WhereClause`
directly, so I instead just make sure it calls the appropriate method
which is fully tested in isolation.
2015-01-27 10:30:38 -07:00
..
association_scope_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
belongs_to_associations_test.rb Test association was eager loaded, rather than reaching into internals 2015-01-26 11:36:13 -07:00
callbacks_test.rb
cascaded_eager_loading_test.rb
eager_load_includes_full_sti_class_test.rb
eager_load_nested_include_test.rb
eager_singularization_test.rb
eager_test.rb
extension_test.rb
has_and_belongs_to_many_associations_test.rb
has_many_associations_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
has_many_through_associations_test.rb
has_one_associations_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
has_one_through_associations_test.rb
inner_join_association_test.rb
inverse_associations_test.rb
join_model_test.rb
nested_through_associations_test.rb
required_test.rb tests, use drop_table if_exists: true in our test suite. 2015-01-20 13:30:12 +01:00