rails--rails/activerecord/test/cases
Neeraj Singh 1bc6b43f53 Replace assert with assert_equal in some test cases
[#4654 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-21 16:00:49 +02:00
..
associations Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
validations Revert "Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash and make various Validators pass their (filtered) options." 2010-05-15 21:55:16 +02:00
active_schema_test_mysql.rb make add_index and remove_index more resilient; new rename_index method; track database limits 2010-05-18 10:55:41 -07:00
active_schema_test_postgresql.rb Revert "When creating database with rake, create schemas in schema_search_path if it doesn't exist." 2010-04-09 11:30:40 +12:00
adapter_test.rb Revert "When creating database with rake, create schemas in schema_search_path if it doesn't exist." 2010-04-09 11:30:40 +12:00
aggregations_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
ar_schema_test.rb ActiveRecord should raise an error on invalid migration types. 2010-02-28 11:53:48 +01:00
associations_test.rb restricts a test to < 1.9, and rewrites it using a proper expectation 2010-03-13 17:04:08 -06:00
attribute_methods_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
autosave_association_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
base_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
batches_test.rb corrected AR find_each and find_in_batches to raise when the user uses select but does not specify the primary key 2010-05-09 13:14:47 +03:00
binary_test.rb Remove SQL Server cases from tests for latest adapter work to pass rails expected behavior. 2008-11-19 18:00:56 +01:00
calculations_test.rb type_cast_calculated_value refactor: value is never a Fixnum here. Fix test since SQLite returns Float. 2010-05-11 22:29:26 -07:00
callbacks_test.rb Remove test ordering bug by using another class 2010-03-22 10:00:03 -07:00
column_alias_test.rb
column_definition_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
connection_pool_test.rb Add test case for ActiveRecord::ConnectionAdapters::ConnectionManagement. 2009-02-25 12:48:53 -06:00
connection_test_firebird.rb
connection_test_mysql.rb Enable use of MySQL stored procedures by default. 2009-09-17 10:57:03 -07:00
copy_table_test_sqlite.rb Missing customers fixture 2009-11-13 10:38:23 -08:00
database_statements_test.rb Oracle needs sequence value for primary key in INSERT statement 2009-08-06 23:40:59 +03:00
datatype_test_postgresql.rb clearing up many warnings, removing unnecessary regular expresion comparisons [#4365 state:resolved] 2010-04-10 22:13:42 -07:00
date_time_test.rb Revert "fallback_string_to_date sets Date._parse comp arg to true, so that strings with two-digit years, e.g. '1/1/09', are interpreted as modern years" [#2019 state:wontfix] 2009-08-05 08:26:12 -05:00
default_test_firebird.rb
defaults_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
deprecated_finder_test.rb
dirty_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
finder_respond_to_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
finder_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
fixtures_test.rb prevent to run fixture accessor (e.g. test_foos for TestFoo model) as a test case [#2992 state:resolved] 2010-05-16 20:14:36 +02:00
helper.rb restricts a test to < 1.9, and rewrites it using a proper expectation 2010-03-13 17:04:08 -06:00
i18n_test.rb Move validator, human_name and human_attribute_name to ActiveModel, remove deprecated error messages and add i18n_scope and lookup_ancestors. 2009-10-20 17:52:32 -07:00
inheritance_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
invalid_date_test.rb Oracle adapter returns Time value for DATE columns 2009-08-06 23:40:59 +03:00
json_serialization_test.rb Reset class attribute after changing it 2010-03-22 10:00:04 -07:00
lifecycle_test.rb ActiveModel::Observing: stop using Observable Ruby module, re-implement `notify_observers` 2010-04-16 13:09:07 -07:00
locking_test.rb eliminate alias_method_chain from ActiveRecord 2010-05-09 02:37:52 +03:00
log_subscriber_test.rb cleaning up a bunch of parse time warnings in AR [#4186 state:resolved] 2010-03-15 18:22:31 -07:00
method_scoping_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
migration_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
migration_test_firebird.rb
mixin_test.rb
modules_test.rb assert_equal should be used instead of assert 2010-05-18 16:13:00 +02:00
multiple_db_test.rb Rename active_relation_engine -> arel_engine and active_relation_table -> arel_table 2010-01-16 16:02:30 +05:30
named_scope_test.rb Change on Array extension from rand => random_element [#4555 state:committed] 2010-05-16 22:23:44 +02:00
nested_attributes_test.rb Nested records (re: autosave) are now updated even when the intermediate parent record is unchanged [#4242 state:resolved] 2010-05-18 16:13:00 +02:00
pk_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
pooled_connections_test.rb expected value should come first in assert_equal 2010-05-18 16:13:00 +02:00
query_cache_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
readonly_test.rb Don't publicize with_scope for tests since it may shadow public misuse 2009-12-28 14:07:23 -08:00
reflection_test.rb removing dead code from activerecord tests. [#4187 state:resolved] 2010-03-15 18:36:08 -07:00
relations_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02: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
reserved_word_test_mysql.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
sanitize_test.rb
schema_authorization_test_postgresql.rb In PostgreSQLAdapter, switch tables query to use current_schemas function [#918 state:resolved] 2010-03-26 17:18:33 -07:00
schema_dumper_test.rb Revert "primary_key now supports :limit for MySQL". Break Sam Ruby app. 2010-03-27 14:39:43 +01:00
schema_test_postgresql.rb make add_index and remove_index more resilient; new rename_index method; track database limits 2010-05-18 10:55:41 -07:00
serialization_test.rb to_xml with :include should skip_instruct on the included records [#4506 state:resolved] 2010-04-30 14:22:57 +02:00
synonym_test_oracle.rb
timestamp_test.rb Final iteration of use better testing methods 2010-05-19 21:31:51 +02:00
transaction_callbacks_test.rb Fixes a test on transaction_callbacks_test.rb 2010-05-19 12:59:47 +02:00
transactions_test.rb Add after_commit and after_rollback callbacks to ActiveRecord that are called after transactions either commit or rollback on all records saved or destroyed in the transaction. 2010-04-29 12:24:15 -07:00
unconnected_test.rb
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 Replace assert with assert_equal in some test cases 2010-05-21 16:00:49 +02:00
xml_serialization_test.rb test cases for record.to_xml [#458 state:resolved] 2010-04-30 13:19:30 +02:00
yaml_serialization_test.rb Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ActiveRecord models with DateTime attributes. 2009-12-15 08:15:21 -06:00