aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/tasks
Commit message (Expand)AuthorAgeFilesLines
* Move DatabaseAlreadyExists detection to DB adapterJohn Hawthorn2019-07-292-5/+3
* Use connection.error_number in MySQLDatabaseTasksJohn Hawthorn2019-07-251-3/+8
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-133-7/+0
* Make ActiveRecord::PendingMigrationError actionableGenadi Samokovarov2019-04-191-2/+4
* Don't drop internal metadata tablesRyuta Kamizono2019-04-041-4/+2
* Ensure `reset_table_name` when table name prefix/suffix is changedRyuta Kamizono2019-04-041-8/+0
* Fix fragile testsRyuta Kamizono2019-04-041-2/+4
* Respect table name prefix/suffix for `truncate_all`Ryuta Kamizono2019-04-041-0/+58
* Reset `connection_handlers` to default when any test dirties thatRyuta Kamizono2019-03-051-0/+4
* Fix typo in test nameSharang Dashputre2019-03-051-1/+1
* Allow `truncate` for SQLite3 adapter and add `rails db:seed:replant` (#34779)Bogdan2019-03-041-0/+122
* `assert_called_with` should require `args` argumentbogdanvlviv2018-10-251-1/+1
* Move db:migrate:status to DatabaseTasks methodGannon McGibbon2018-10-081-1/+23
* Use -X when loading structure.sql via psqlJ Smith2018-09-271-3/+3
* Removed invalid -X flag for pg_dumpMatthias Winkelmann2018-09-271-7/+7
* Ignore psqlrc files when executing psql commandsJ Smith2018-09-171-7/+7
* Fix tests in `activerecord/test/cases/tasks/database_tasks_test.rb`bogdanvlviv2018-09-042-684/+120
* Refactors Active Record connection managementEileen Uchitelle2018-08-302-69/+673
* Prevent leaking of user's DB credentials on `rails db:create` failurebogdanvlviv2018-08-292-2/+2
* Add method_call_assertions and use them instead of Mochautilum2018-08-131-20/+35
* Stub with Minitest and test with MethodCallAssertionsutilum2018-08-133-17/+30
* Turn on performance based copsDillon Welch2018-07-231-12/+12
* Replace permissive Mocha expectationsutilum2018-07-222-32/+86
* Fix Mocha replacement that slipped out of #33337utilum2018-07-221-11/+15
* Use MethodCallAssertions instead of Mocha#expectsutilum2018-07-194-94/+150
* Replace some more Mocha#stub calls with Minitestutilum2018-07-171-14/+33
* Remove unnecessary Mocha stubutilum2018-07-171-1/+0
* Clarify test casesbogdanvlviv2018-07-153-15/+11
* Stub with Minitest instead of Mochautilum2018-07-154-427/+660
* Fix stubbed methods in test casesbogdanvlviv2018-07-101-1/+1
* Replace shallow mocks with Ruby classesutilum2018-07-104-14/+30
* Reduce mocking by testing value instead of method callutilum2018-07-093-18/+24
* Remove unnecessary Mocha stubsutilum2018-07-074-47/+18
* assert_called_withutilum2018-04-264-85/+170
* assert_calledutilum2018-04-262-23/+24
* assert_not_calledutilum2018-04-261-12/+12
* Fix two-level database configurations with URLsEugene Kenny2018-03-311-10/+52
* Add tests for new rake taskseileencodes2018-03-211-1/+128
* Revert "Merge pull request #32075 from eileencodes/delete-default-configuration"eileencodes2018-02-221-0/+16
* Delete default configurationeileencodes2018-02-211-16/+0
* Refactor migration to move migrations paths to connectioneileencodes2018-01-181-41/+83
* Clear dirty `schema_cache` after `dump_schema_cache`Ryuta Kamizono2017-12-151-0/+1
* Convert protected_environments to an array of stringsbogdanvlviv2017-12-121-2/+19
* Merge pull request #30414 from bogdanvlviv/clear-mysql_database_tasksRafael França2017-11-091-74/+5
|\
| * Simplify implementation of `MySQLDatabaseTasks`bogdanvlviv2017-10-301-72/+3
| * Raise error if unsupported charset for mysqlbogdanvlviv2017-10-301-4/+4
* | Fix `bin/rails db:migrate` with specified `VERSION`bogdanvlviv2017-11-061-4/+145
|/
* Unneeded Mocha stubs for Kernel#systemAkira Matsuda2017-09-251-2/+0
* Fix `can't modify frozen String` error in `DatabaseTasks`yuuji.yaginuma2017-08-302-0/+35
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-194-0/+8