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 f696494aed Don't attempt to specify datetime precision unless supported
Specifically, versions of MySQL prior to 5.6 do not support this, which
is what's used on Travis by default. The method `mysql_56?` appeared to
only ever be used to conditionally apply subsecond precision, so I've
generalized it and used it more liberally.

This should fix the test failures caused by #20317
2015-09-23 09:09:50 -06:00
..
adapters introduce conn.data_source_exists? and conn.data_sources. 2015-09-22 19:48:44 +02:00
associations Merge pull request #21581 from ronakjangir47/restrict_with_error 2015-09-17 16:30:10 +02:00
attribute_methods
coders
connection_adapters introduce conn.data_source_exists? and conn.data_sources. 2015-09-22 19:48:44 +02:00
connection_specification
fixture_set
migration tests, use if_exists: true instead of rescue nil. 2015-09-22 17:28:54 +02:00
relation Removed mocha from Active Record Part 2 2015-09-16 21:57:10 +05:30
scoping Removed mocha from Active Record Part 1 2015-08-25 22:07:25 +05:30
tasks Merge pull request #20569 from theSteveMitchell/master 2015-09-22 11:10:58 +02:00
type Fixed taking precision into count when assigning a value to timestamp attribute 2015-09-23 13:29:08 +03:00
validations File encoding is defaulted to utf-8 in Ruby >= 2.1 2015-09-18 17:05:05 +09:00
adapter_test.rb introduce conn.data_source_exists? and conn.data_sources. 2015-09-22 19:48:44 +02:00
aggregations_test.rb
ar_schema_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
associations_test.rb Remove unnecessary require in associations_test.rb 2015-09-03 04:27:07 +09:00
attribute_decorators_test.rb
attribute_methods_test.rb Should test both mysql adapters 2015-09-20 05:14:49 +09:00
attribute_set_test.rb
attribute_test.rb no more require minitest mock 2015-08-27 02:14:30 +05:30
attributes_test.rb use assert_not instead of refute as mentioned in our guides. 2015-08-13 09:20:39 +02:00
autosave_association_test.rb Correctly ignore mark_for_destruction without autosave 2015-07-20 09:00:00 -06:00
base_test.rb Don't attempt to specify datetime precision unless supported 2015-09-23 09:09:50 -06:00
batches_test.rb Removed mocha from Active Record Part 1 2015-08-25 22:07:25 +05:30
binary_test.rb
bind_parameter_test.rb
calculations_test.rb Use Enumerable#sum on ActiveRecord::Relation when a block is given 2015-06-19 10:44:43 -06:00
callbacks_test.rb AR::RecordNotSaved & RecordNotDestroyed should include an error message 2015-05-01 19:01:41 -07:00
clone_test.rb
collection_cache_key_test.rb Fix ambiguous argument warning 2015-08-02 22:40:25 +03:00
column_alias_test.rb
column_definition_test.rb
connection_management_test.rb Add schema cache to new connection pool after fork 2015-05-17 00:57:52 +01:00
connection_pool_test.rb Replaced ActiveSupport::Concurrency::Latch with concurrent-ruby. 2015-07-13 15:44:21 -04:00
core_test.rb
counter_cache_test.rb Fix counter_cache for polymorphic associations 2015-07-19 15:52:29 -06:00
custom_locking_test.rb
database_statements_test.rb
date_time_precision_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
date_time_test.rb
defaults_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
dirty_test.rb Don't crash when mutating attributes in a getter 2015-06-12 11:03:12 -06:00
disconnected_test.rb Silence warning from MySQL::Error object in test 2015-04-23 17:05:03 -04:00
dup_test.rb
enum_test.rb use assert_not instead of refute as mentioned in our guides. 2015-08-13 09:20:39 +02:00
errors_test.rb Make ActiveRecordException descendants args optional 2015-09-07 00:04:31 -07:00
explain_subscriber_test.rb Let WITH (CTE) queries be explainable 2015-05-28 14:10:09 +03:00
explain_test.rb Removed mocha from Active Record Part 2 2015-09-16 21:57:10 +05:30
finder_respond_to_test.rb
finder_test.rb Add tests for sanitize named bind arity 2015-09-23 10:57:25 +09:00
fixtures_test.rb Removed mocha from Active Record Part 2 2015-09-16 21:57:10 +05:30
forbidden_attributes_protection_test.rb
habtm_destroy_order_test.rb
helper.rb Don't attempt to specify datetime precision unless supported 2015-09-23 09:09:50 -06:00
hot_compatibility_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
i18n_test.rb
inheritance_test.rb invalid sti error message contains the full class name. 2015-05-13 11:35:34 +02:00
integration_test.rb
invalid_connection_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
invalid_date_test.rb
invertible_migration_test.rb Make revert of disable_extension to work 2015-08-30 19:26:39 +09:00
json_serialization_test.rb
locking_test.rb Fix the test that was broken by #16445 rather than deleting it 2015-07-19 15:52:31 -06:00
log_subscriber_test.rb Improve sql logging coloration in ActiveRecord::LogSubscriber. 2015-07-17 13:23:59 -07:00
migration_test.rb remove dead code. 2015-09-09 16:30:48 +02:00
migrator_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
mixin_test.rb remove unnecessary rescue 2015-03-05 15:05:47 -08:00
modules_test.rb remove old unavailable link with relevant fix 2015-03-23 11:18:14 +05:30
multiparameter_attributes_test.rb
multiple_db_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
nested_attributes_test.rb Removed mocha from Active Record Part 2 2015-09-16 21:57:10 +05:30
nested_attributes_with_callbacks_test.rb
persistence_test.rb Deprecate passing conditions to AR::Relation destroy_all and delete_all methods 2015-09-06 16:14:16 +02:00
pooled_connections_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
primary_keys_test.rb Merge pull request #17696 from kamipo/unsigned_integer_support 2015-09-19 17:44:57 -07:00
query_cache_test.rb Removed mocha from Active Record Part 1 2015-08-25 22:07:25 +05:30
quoting_test.rb
readonly_test.rb Further fix failing tests caused by #21350 2015-08-24 08:10:48 -06:00
reaper_test.rb
reflection_test.rb Removed mocha from Active Record Part 1 2015-08-25 22:07:25 +05:30
relation_test.rb Skip the test added in 9cc324a on buggy versions of SQlite 2015-09-21 11:37:36 -06:00
relations_test.rb Skip the test added in 9cc324a on buggy versions of SQlite 2015-09-21 11:37:36 -06:00
reload_models_test.rb fix test not failing when executed isolated 2015-06-19 16:02:12 -03:00
result_test.rb
sanitize_test.rb
schema_dumper_test.rb Display decimal defaults as strings to keep precision 2015-06-23 14:38:00 -07:00
secure_token_test.rb
serialization_test.rb Remove XML Serialization from core. 2015-08-07 11:01:48 -04:00
serialized_attribute_test.rb Add a test to ensure serialize persists nil as NULL 2015-06-12 13:50:51 -06:00
statement_cache_test.rb
store_test.rb
suppressor_test.rb Apply Active Record suppression to all saves 2015-06-04 00:11:38 -04:00
test_case.rb Refactor table_exists? in AbstractMysqlAdapter 2015-09-20 14:46:35 +09:00
test_fixtures_test.rb 🔪 Typos 2015-09-21 03:17:39 +09:00
time_precision_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
timestamp_test.rb Fix missing index when using timestamps with index 2015-04-15 09:53:55 +01:00
touch_later_test.rb use assert_not instead of refute as mentioned in our guides. 2015-08-13 09:20:39 +02:00
transaction_callbacks_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
transaction_isolation_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
transactions_test.rb Removed mocha from Active Record Part 2 2015-09-16 21:57:10 +05:30
type_test.rb
types_test.rb Move the appropriate type tests to the Active Model suite 2015-09-21 10:12:31 -06:00
unconnected_test.rb Closes rails/rails#18864: Renaming transactional fixtures to transactional tests 2015-03-16 11:35:44 -07:00
validations_repair_helper.rb
validations_test.rb Validate multiple contexts on valid? and invalid? at once. 2015-09-07 22:42:50 +01:00
view_test.rb introduce conn.data_source_exists? and conn.data_sources. 2015-09-22 19:48:44 +02:00
yaml_serialization_test.rb Add YAML compatibility for objects from Rails 4.2 2015-03-10 11:56:45 -06:00