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
2011-04-27 00:28:24 +02:00
..
adapters Added tsvector Datatype Support 2011-04-26 09:47:40 +02:00
associations Added test case and fix for proper eager loading associations 2011-04-22 12:06:15 -05:00
attribute_methods Using Object#in? and Object#either? in various places 2011-04-11 03:17:09 +08:00
coders Make serialized columns with explicit object_type return a new instance of the object instead of nil 2011-02-03 09:08:45 -08:00
connection_adapters adding active_connections? to the connection pool for finding open connections 2011-03-28 17:29:37 -07:00
migration Add :bulk => true option to change_table 2011-01-31 13:21:25 +00:00
session_store share column cache among subclasses, only look up columns per AR::Base subclass once 2011-02-01 14:25:46 -08:00
validations Do not use SQL LIKE operator for case insensitive uniqueness validation 2011-04-25 22:17:18 +03:00
adapter_test.rb herp derpricating add_limit_offset! 2011-01-03 15:59:13 -08:00
aggregations_test.rb code gardening: we have assert_(nil|blank|present), more concise, with better default failure messages - let's use them 2010-08-17 03:32:11 +02:00
ar_schema_test.rb rolling out migrated_at until I can fix the build 2010-12-01 17:08:01 -08:00
associations_test.rb Added new #update_column method. 2011-03-27 21:47:38 -03:00
attribute_methods_test.rb Undo performances regressions I introduced in bbe0a507f2 and add test for an edge case. Add comments to explain the intent of the code. 2011-04-15 13:09:12 +01:00
autosave_association_test.rb expectations change when using IM. Change oracle tests to reflect that 2011-02-22 11:27:12 -08:00
base_test.rb deprecated the use of the guard_protected_attributes argument with attributes= in AR in favor of assign_attributes(attrs, :without_protection => true) 2011-04-25 23:57:09 +02:00
batches_test.rb Quote find_in_batches ORDER BY clause [#6620 state:resolved] 2011-03-29 17:24:55 +01:00
binary_test.rb using the database adapter to typecast before executing prepared statement 2011-04-14 13:37:39 -07:00
bind_parameter_test.rb use index based substitution for bind parameters 2011-04-13 09:42:51 -07:00
calculations_test.rb Merge branch 'master' into zomg 2011-03-29 17:38:43 -07:00
callbacks_test.rb Cleanup deprecation warnings in active record 2010-09-06 13:39:55 +02:00
clone_test.rb adding a specific case for clone testing 2010-11-23 14:29:04 -08:00
column_alias_test.rb
column_definition_test.rb column will use coder to typecase value when it is available 2011-02-01 14:25:46 -08:00
connection_management_test.rb make sure that active connections are not cleared during test when an exception happens 2011-03-29 15:47:16 -07:00
connection_pool_test.rb adding active_connection? to the connection pool 2011-03-28 16:43:34 -07:00
counter_cache_test.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
custom_locking_test.rb adding a test case for custom locking 2011-02-21 16:12:02 -08:00
database_statements_test.rb Oracle needs sequence value for primary key in INSERT statement 2009-08-06 23:40:59 +03:00
date_time_test.rb Move helper methods to helper.rb. Make test not depend on local TZ to pass or fail. 2010-09-21 15:07:43 +02:00
defaults_test.rb Remove #among? from Active Support 2011-04-13 20:25:28 +08:00
deprecated_finder_test.rb Fix file permissions 2008-07-31 16:36:23 -05:00
dirty_test.rb Added new #update_column method. 2011-03-27 21:47:38 -03:00
dup_test.rb Testing that dup is resetting the timestamps 2010-11-25 01:18:43 +08:00
dynamic_finder_match_test.rb fisting test organization 2010-09-29 10:36:32 -07:00
finder_respond_to_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
finder_test.rb Return nil from read_attribute(:foo) if 'foo' is not present in the @attributes hash, but the _foo method has been defined. This brings the behaviour into line with the 3-0-stable branch and the master branch before 93641ed6c8 (there were previously no assertions about this which is why the change slipped through). Note that actually calling the 'foo' method will still raise an error if the attribute is not present. 2011-04-15 13:27:08 +01:00
fixtures_test.rb fixture methods can be overridden and super() is useful 2011-02-15 15:52:27 -08:00
habtm_destroy_order_test.rb Failing test case to show that habtm join table contents are removed when a model is destroyed but the destruction is blocked by a before_destroy. 2011-03-23 14:45:21 -07:00
helper.rb Run tests without IdentityMap when IM=false is given. 2011-02-15 12:40:41 -03:00
i18n_test.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
identity_map_test.rb Add log message when loading records from Identity Map. 2011-04-04 10:48:17 +02:00
inheritance_test.rb Rewrote AssociationPreload. 2011-02-28 22:12:34 +00:00
invalid_date_test.rb activerecord tests should inherit from ActiveRecord::TestCase 2010-07-14 16:35:52 -07:00
invertible_migration_test.rb fisting typeo, thanks @vinibaggio 2010-11-19 11:42:58 -08:00
json_serialization_test.rb Fix broken test 2010-10-19 16:26:35 +01:00
lifecycle_test.rb observers leak across tests, so rather than modify the object, we should just count the number of times the observer was called 2011-02-23 16:04:01 -08:00
locking_test.rb The optimistic lock column should be increased when calling touch 2011-02-09 18:27:40 -02:00
log_subscriber_test.rb Disable IdentityMap in log tests, it's not important and when running tests rake task it logs more messages in the tested buffer. 2011-04-05 22:08:00 +02:00
mass_assignment_security_test.rb fix mass-assignment security tests, this was due to a string column limit which doesn't cause issues on sqlite 2011-04-27 00:28:24 +02:00
method_scoping_test.rb Deprecated support for passing hashes and relations to default_scope, in favour of defining a 'default_scope' class method in the model. See the CHANGELOG for more details. 2011-04-12 19:46:04 -07:00
migration_test.rb Active Record typos. 2011-03-05 11:56:34 +01:00
mixin_test.rb
modules_test.rb just use a hash for doing association caching 2011-01-07 11:28:11 -08:00
multiple_db_test.rb Revert "ARel only requires the connection from the AR class. Simply return the AR class rather than jump through hoops and store ivars" 2011-02-03 14:04:21 -08:00
named_scope_test.rb Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the scope class method. Just define a class method yourself instead." 2011-04-17 20:47:52 +01:00
nested_attributes_test.rb Destroying records via nested attributes works independent of reject_if: 2011-04-05 10:38:54 -03:00
persistence_test.rb fix mass-assignment security tests, this was due to a string column limit which doesn't cause issues on sqlite 2011-04-27 00:28:24 +02:00
pooled_connections_test.rb implements ActiveRecord::Base.connection_config to be able to check the configuration of the current connection at runtime 2011-03-05 01:35:02 +01:00
primary_keys_test.rb Quote find_in_batches ORDER BY clause [#6620 state:resolved] 2011-03-29 17:24:55 +01:00
query_cache_test.rb Use IM when trying to load records using ID. 2011-04-04 10:48:12 +02:00
quoting_test.rb do not depend on to_yaml being called, but rather depend on YAML being dumped 2011-04-13 11:41:42 -07:00
readonly_test.rb Removed support for accessing attributes on a has_and_belongs_to_many join table. This has been documented as deprecated behaviour since April 2006. Please use has_many :through instead. A deprecation warning will be added to the 3-0-stable branch for the 3.0.4 release. 2011-01-16 13:43:54 -08:00
reflection_test.rb oracle, y u defy me 2011-03-16 18:54:34 +00:00
relation_scoping_test.rb Bring back support for passing a callable object to the default_scope macro. You can also just use a block. 2011-04-18 23:35:22 +01:00
relation_test.rb Evaluate default scopes at the last possible moment in order to avoid problems with default scopes getting included into other scopes and then being unable to remove the default part via unscoped. 2011-04-12 19:46:04 -07:00
relations_test.rb Merge branch 'master' into zomg 2011-03-29 17:38:43 -07:00
reload_models_test.rb Add missing fixture to allow reload models test to run isolated [#1609 state:resolved] 2008-12-20 20:39:25 +00:00
sanitize_test.rb Change all calls to String#chars to String#mb_chars. 2008-09-21 18:01:15 +02:00
schema_dumper_test.rb Added tsvector Datatype Support 2011-04-26 09:47:40 +02:00
serialization_test.rb make sure de-serialization happens on object instantiation 2011-02-01 15:23:55 -08:00
timestamp_test.rb Added new #update_column method. 2011-03-27 21:47:38 -03:00
transaction_callbacks_test.rb fisting after_rollback and after commit callbacks 2010-08-20 00:06:49 -07:00
transactions_test.rb persisted? should be able to return a truthy object 2010-12-16 01:49:28 +05:30
unconnected_test.rb In a number of places in the tests, we only need to turn off transactional fixtures when the DB does not support savepoints. This speeds the test run up by about 8-9% on my computer, when running rake test_sqlite3_mem :) 2011-01-11 13:45:07 -08:00
validations_repair_helper.rb Simplify repair_validations on AR and make it work with new callbacks. 2010-01-01 03:20:38 +01:00
validations_test.rb Cleanup deprecation warnings in active record 2010-09-06 13:39:55 +02:00
xml_serialization_test.rb Provide test for #4840: to_xml doesn't work in such case: Event.select('title as t').to_xml 2010-12-15 14:02:30 -08:00
yaml_serialization_test.rb adding an encode_with method for Psych dump/load methods 2011-01-05 14:59:19 -08:00