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
Yves Senn 274e966a6a rake db:create does not change permissions of root user.
Closes #8079.

I had to rework some of the tests because the mock allowed any arguments
for `connection.exeucte`. I think this is very dangerous as there could
anything be executed without the tests noticing it.
2013-03-17 20:34:04 +01:00
..
adapters sets limit 191 for schema_migrations#version in mysql2 if the encoding is "utf8mb4" 2013-03-17 20:29:58 +01:00
associations If a counter_cache is defined, then using update_attributes and changing 2013-03-15 21:28:28 -04:00
attribute_methods Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
coders ActiveRecord::Coders::YAMLColumn#dump should raise an error 2012-03-26 21:57:39 +02:00
connection_adapters hide more data in the schema cache 2013-03-14 22:45:46 -07:00
connection_specification Do not type cast all the database url values. 2013-02-24 14:36:18 -03:00
fixture_set Move/rename files to follow naming conventions 2012-10-07 20:43:18 +02:00
migration transactions can be turned off per Migration. 2013-03-05 16:12:08 +01:00
relation Revert "Merge pull request #9207 from dylanahsmith/mysql-quote-numeric" 2013-02-27 08:46:40 -08:00
tasks rake db:create does not change permissions of root user. 2013-03-17 20:34:04 +01:00
validations Change uniq validation with conditions examples to use where with hashes 2013-03-09 19:21:33 -03:00
adapter_test.rb Changed update_record to use prepared statements. 2013-02-11 15:17:06 +02:00
aggregations_test.rb remove meaningless AS::FrozenObjectError 2013-01-02 10:04:58 +09:00
ar_schema_test.rb Reset SchemaMigration after updating 2013-01-22 10:26:51 +09:00
associations_test.rb Cache the association proxy object 2013-03-15 13:48:45 +00:00
attribute_methods_test.rb Remove not used require and some useless test comments 2012-11-17 23:00:16 -02:00
autosave_association_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
base_test.rb Deprecate the :distinct option for Relation#count. 2013-03-15 14:15:47 +01:00
batches_test.rb Remove extre count, preheat already happens during setup 2012-10-31 12:54:07 -02:00
binary_test.rb Use Encoding::UTF_8 constant 🚯 2013-01-28 17:06:02 +09:00
bind_parameter_test.rb fix todo: use minitest skip instead of return nil 2012-05-13 02:27:52 -05:00
calculations_test.rb Deprecate the :distinct option for Relation#count. 2013-03-15 14:15:47 +01:00
callbacks_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
clone_test.rb
column_alias_test.rb
column_definition_test.rb Add uuid type support to PostgreSQL adapter 2012-06-14 17:44:51 +04:00
column_test.rb Fix error when assigning NaN to an integer column 2013-01-06 16:09:40 -05:00
connection_management_test.rb database connections are automatically established after forking. 2012-02-16 14:33:38 -08:00
connection_pool_test.rb MOAR cleanups. 2013-03-14 10:47:13 +05:30
counter_cache_test.rb Refactor Person/Friendship relationships to be more intuitive 2013-03-17 02:11:19 -04:00
custom_locking_test.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
database_statements_test.rb
date_time_test.rb Deprecate obsolete Time to DateTime fallback methods 2012-12-11 13:57:05 +00:00
defaults_test.rb Standardize the use of current_adapter? 2013-01-01 19:18:34 -03:00
deprecated_dynamic_methods_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
dirty_test.rb assigning '0.0' to a nullable numeric column does not make it dirty 2013-03-05 14:00:41 +01:00
dup_test.rb Do not override attributes on dup by default scopes 2013-02-26 00:30:49 +09:00
explain_subscriber_test.rb Don't explain except normal CRUD sql. 2012-09-17 00:22:34 +09:00
explain_test.rb Remove unused return value, because collecting_queries_for_explain isn't public API. 2013-03-06 00:35:55 +09:00
finder_respond_to_test.rb made dynamic finders alias_attribute aware 2012-06-22 16:44:01 +02:00
finder_test.rb rename Relation#uniq to Relation#distinct. #uniq still works. 2013-03-15 14:15:47 +01:00
fixtures_test.rb Deprecate #connection in favour of accessing it via the class 2013-03-09 15:16:15 -05:00
forbidden_attributes_protection_test.rb Added STI support to init and building associations 2012-11-29 05:50:34 +00:00
habtm_destroy_order_test.rb
helper.rb Set Thread.abort_on_exception for the whole AS, AP, and AR tests 2013-01-24 20:00:45 +09:00
hot_compatibility_test.rb Add an explicit test for hot compatibility 2012-09-28 18:08:14 +01:00
i18n_test.rb
inheritance_test.rb add an missing assertion to inheritance_test.rb 2013-03-11 20:27:13 +09:00
invalid_date_test.rb Remove unused assignments from activerecord tests 2012-04-29 10:02:58 -07:00
invertible_migration_test.rb Fixes for PR [#8267] 2012-12-22 20:40:42 -05:00
json_serialization_test.rb rewrite tests to have no side-effects on include_root_in_json. 2013-03-04 21:18:40 +01:00
locking_test.rb Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
log_subscriber_test.rb Ignore binds payload with nil column in AR log subscriber 2013-01-08 08:59:41 -02:00
migration_test.rb Preserve magic comments and content encoding of copied migrations. 2013-03-09 15:38:02 +09:00
migrator_test.rb Reset AR::Migration.verbose change to avoid depending on test run order 2013-01-08 09:12:51 +09:00
mixin_test.rb
modules_test.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
multiparameter_attributes_test.rb Remove unneeded require 2012-10-06 19:31:57 -03:00
multiple_db_test.rb Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
named_scope_test.rb Update test name to reflect change in how scopes merging works 2013-03-08 09:34:33 -03:00
nested_attributes_test.rb Namespace HashWithIndifferentAccess 2013-01-07 07:37:23 +09:00
persistence_test.rb Remove regression test added in 0268b5d8cd 2013-03-07 11:02:49 -03:00
pooled_connections_test.rb Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
primary_keys_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
query_cache_test.rb Standardize the use of current_adapter? 2013-01-01 19:18:34 -03:00
quoting_test.rb Revert "Merge pull request #9207 from dylanahsmith/mysql-quote-numeric" 2013-02-27 08:46:40 -08:00
readonly_test.rb Remove ActiveRecord::Base.to_a 2012-08-03 11:51:52 +01:00
reaper_test.rb ConnectionPool wait_timeout no longer used for different types of timeouts. #6441 2012-05-23 12:08:11 -04:00
reflection_test.rb remove duplicated require statements in AR test cases 2012-10-09 21:33:54 +02:00
relation_scoping_test.rb Created an unscope method for removing relations from a chain of 2013-03-03 20:42:01 -05:00
relation_test.rb rename Relation#uniq to Relation#distinct. #uniq still works. 2013-03-15 14:15:47 +01:00
relations_test.rb Fix implicit join references option reversion in test 2013-03-15 14:17:59 -03:00
reload_models_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
sanitize_test.rb
schema_dumper_test.rb Fix default output for postgres network address types 2013-02-26 14:26:53 -05:00
serialization_test.rb ActiveRecord::Base.include_root_in_json is false by default. 2013-03-04 21:18:40 +01:00
serialized_attribute_test.rb test case for serialize default values. 2013-03-07 17:26:35 +01:00
store_test.rb define Active Record Store accessors in a module 2013-02-11 17:00:55 +03:00
test_case.rb load active_support/deprecation in active_support/rails 2012-08-02 21:59:23 +02:00
timestamp_test.rb Fix touching an invalid parent record for belongs_to 2013-02-26 18:46:10 +01:00
transaction_callbacks_test.rb Deprecate #connection in favour of accessing it via the class 2013-03-09 15:16:15 -05:00
transaction_isolation_test.rb Rename update_attributes method to update, keep update_attributes as an alias 2013-01-03 11:51:21 -05:00
transactions_test.rb Reduced memory leak problem in transactions by lazily updating AR objects with new transaction state. If AR object has a callback, the callback will be performed immediately (non-lazily) so the transaction still has to keep records with callbacks. 2013-02-20 10:51:28 -05:00
unconnected_test.rb Remove ActiveRecord::Model 2012-10-26 15:51:02 +01:00
validations_repair_helper.rb
validations_test.rb Remove mass assignment security from ActiveRecord 2012-09-16 23:58:19 -05:00
xml_serialization_test.rb Fix AR tests due to builder change with nil values / empty strings 2012-09-07 13:31:28 -03:00
yaml_serialization_test.rb No need to require psych since require yaml does that. 2012-01-04 14:29:13 -03:00