aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #33162 from utilum/stop_using_mochaKasper Timm Hansen2018-08-227-53/+88
|\
| * Add method_call_assertions and use them instead of Mochautilum2018-08-134-36/+58
| * Stub with Minitest and test with MethodCallAssertionsutilum2018-08-133-17/+30
* | Add database configuration to disable advisory locks.Guo Xiang Tan2018-08-223-0/+41
* | Fix merging relation that order including `?`Ryuta Kamizono2018-08-211-0/+10
* | Merge pull request #33652 from tgxworld/improve_tests_pool_configRyuta Kamizono2018-08-202-5/+50
|\ \
| * | Speed up slow ConnectionPool test case.Guo Xiang Tan2018-08-201-11/+19
| * | Improve tests for ActiveRecord::ConnectionAdapters::ConnectionPool configurat...Guo Xiang Tan2018-08-192-2/+39
* | | Merge pull request #33657 from jychen7/fix-test-association-enumRyuta Kamizono2018-08-201-0/+3
|\ \ \
| * | | Improve test case to test enum correctlyRich2018-08-201-0/+3
* | | | SQLite3: Fix rename reference column not to lose foreign key constraintRyuta Kamizono2018-08-201-0/+16
|/ / /
* / / Address intermittent CI failure due to non-determined sort orderRyuta Kamizono2018-08-191-1/+1
|/ /
* | Ensure `foreign_keys` assertions after alter tableRyuta Kamizono2018-08-191-1/+5
* | Merge pull request #33585 from yahonda/diag33520Ryuta Kamizono2018-08-161-0/+13
|\ \
| * | SQLite3 adapter `alter_table` method restores foreign keysYasuo Honda2018-08-111-0/+13
| |/
* | Merge pull request #33603 from kamipo/fix_numericality_validatorRyuta Kamizono2018-08-163-2/+26
|\ \
| * | Fix numericality validator not to be affected by custom getterRyuta Kamizono2018-08-133-2/+26
| |/
* | Fix bulk change table ignores comment option on PostgreSQL.Yoshiyuki Kinjo2018-08-151-2/+11
* | Follow up #33530bogdanvlviv2018-08-151-0/+5
* | Allow `to_table` in `invert_remove_foreign_key`Rich2018-08-141-0/+8
|/
* Fix a wrong correctionKazuhiro Sera2018-08-081-1/+1
* Fix the obvious typos detected by github.com/client9/misspellKazuhiro Sera2018-08-085-16/+16
* Call build when extend with nested attributes definedAlireza Bashiri2018-08-022-1/+19
* Revert "Merge pull request #24131 from brchristian/limit_and_primary_key"Ryuta Kamizono2018-08-011-15/+0
* Add test case for the #5153's default order contractRyuta Kamizono2018-08-011-0/+13
* Avoid extra scoping when using `Relation#update`Ryuta Kamizono2018-07-311-0/+4
* MySQL: Raise ActiveRecord::InvalidForeignKey for foreign-key constraint viola...George Claghorn2018-07-301-5/+16
* Don't expose configuration for a test.Kasper Timm Hansen2018-07-281-2/+3
* Avoid logging ActiveRecord::LogSubscriber as the query source when the source...lsylvester2018-07-281-0/+13
* PostgreSQL 10 new relkind for partitioned tables (#31336)Yannick Schutz2018-07-271-0/+22
* Remove Rubocop's comments from Rails code basebogdanvlviv2018-07-261-1/+1
* Merge pull request #32381 from q-centrix/update-codeclimate-configsRichard Schneeman2018-07-252-13/+13
|\
| * Turn on performance based copsDillon Welch2018-07-232-13/+13
* | Normalize time value not to be affected by summer timeRyuta Kamizono2018-07-252-10/+40
|/
* Merge pull request #30919 from seanlinsley/17622-before_save_strict_argumentsRyuta Kamizono2018-07-231-0/+27
|\
| * add strict argument checking to ActiveRecord callbacksSean Linsley2018-07-221-0/+23
|/
* Replace permissive Mocha expectationsutilum2018-07-222-32/+86
* Replace Mocha#stubs with assert_called_withutilum2018-07-221-6/+11
* Fix Mocha replacement that slipped out of #33337utilum2018-07-221-11/+15
* tests for use of primary_key with limitBrian Christian2018-07-191-0/+15
* Merge pull request #33394 from kamipo/avoid_extra_scopingEileen M. Uchitelle2018-07-192-0/+6
|\
| * Avoid extra scoping in delegating to klass methods in the `scope` blockRyuta Kamizono2018-07-192-0/+6
* | Merge pull request #33391 from utilum/method_call_assertions_instead_of_mochaRyuta Kamizono2018-07-195-98/+154
|\ \ | |/ |/|
| * Use MethodCallAssertions instead of Mocha#expectsutilum2018-07-195-98/+154
* | Fix `insert_fixtures_set` to be restored original connection flagsRyuta Kamizono2018-07-191-5/+80
|/
* Merge pull request #33363 from ahorek/transaction_bugRafael França2018-07-181-0/+15
|\
| * use set_server_option if possiblepavel2018-07-151-0/+15
* | Merge pull request #33358 from azbshiri/summer-timeRafael França2018-07-181-2/+24
|\ \
| * | Test DST both in local and utc timezoneAlireza Bashiri2018-07-171-2/+24
* | | Replace some more Mocha#stub calls with Minitestutilum2018-07-173-25/+46