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
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
..
adapters
associations WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
attribute_methods
coders
connection_adapters
connection_specification
fixture_set
migration
relation WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
scoping WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
tasks
type
validations
adapter_test.rb
aggregations_test.rb
ar_schema_test.rb
associations_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
attribute_decorators_test.rb
attribute_methods_test.rb
attribute_set_test.rb
attribute_test.rb
attributes_test.rb
autosave_association_test.rb
base_test.rb
batches_test.rb
binary_test.rb
bind_parameter_test.rb
calculations_test.rb
callbacks_test.rb
clone_test.rb
column_alias_test.rb
column_definition_test.rb
connection_management_test.rb
connection_pool_test.rb
core_test.rb
counter_cache_test.rb
custom_locking_test.rb
database_statements_test.rb
date_time_test.rb
defaults_test.rb
dirty_test.rb
disconnected_test.rb
dup_test.rb
enum_test.rb
explain_subscriber_test.rb
explain_test.rb
finder_respond_to_test.rb
finder_test.rb
fixtures_test.rb
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb
hot_compatibility_test.rb
i18n_test.rb
inheritance_test.rb
integration_test.rb
invalid_connection_test.rb
invalid_date_test.rb
invertible_migration_test.rb
json_serialization_test.rb
locking_test.rb
log_subscriber_test.rb
migration_test.rb
migrator_test.rb
mixin_test.rb
modules_test.rb
multiparameter_attributes_test.rb
multiple_db_test.rb
nested_attributes_test.rb
nested_attributes_with_callbacks_test.rb
persistence_test.rb
pooled_connections_test.rb
primary_keys_test.rb
query_cache_test.rb
quoting_test.rb
readonly_test.rb
reaper_test.rb
reflection_test.rb
relation_test.rb WhereClause#predicates does not need to be public 2015-01-27 10:30:38 -07:00
relations_test.rb Remove unused bind and bind! methods from Relation 2015-01-26 16:12:59 -07:00
reload_models_test.rb
result_test.rb
sanitize_test.rb
schema_dumper_test.rb
secure_token_test.rb
serialization_test.rb
serialized_attribute_test.rb
statement_cache_test.rb
store_test.rb
test_case.rb
timestamp_test.rb
transaction_callbacks_test.rb
transaction_isolation_test.rb
transactions_test.rb
types_test.rb
unconnected_test.rb
validations_repair_helper.rb
validations_test.rb
view_test.rb
xml_serialization_test.rb
yaml_serialization_test.rb