aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/fixtures_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Raise an error when loading all fixtures from nil fixture_pathGannon McGibbon2018-09-261-0/+16
* Change the empty block style to have space inside of the blockRafael Mendonça França2018-09-251-1/+1
* Merge pull request #33391 from utilum/method_call_assertions_instead_of_mochaRyuta Kamizono2018-07-191-4/+4
|\
| * Use MethodCallAssertions instead of Mocha#expectsutilum2018-07-191-4/+4
* | 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
* | Replace some more Mocha#stub calls with Minitestutilum2018-07-171-8/+9
* | Stub with Minitest instead of Mochautilum2018-07-151-17/+18
|/
* Fix stubbed methods in test casesbogdanvlviv2018-07-101-2/+2
* Replace shallow mocks with Ruby classesutilum2018-07-101-4/+17
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-2/+2
* Replace `assert !` with `assert_not`Daniel Colson2018-04-191-6/+6
* Add cop for preferring 'Foo.method' over 'Foo::method'Andrew White2018-02-221-1/+1
* Add chop removed in 89bcca5Rafael Mendonça França2018-02-161-1/+1
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-1/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-5/+5
* Bring back ability to insert zero value on primary key for fixtures (#31795)Ryuta Kamizono2018-01-261-20/+11
* Add test case for deprecated `insert_fixtures`Ryuta Kamizono2018-01-261-2/+16
* Merge pull request #31422 from Edouard-chin/multistatement-fixturesMatthew Draper2018-01-241-0/+118
|\
| * Allow a 2 bytes margin:Edouard CHIN2018-01-231-3/+5
| * Build a multi-statement query when inserting fixtures:Edouard CHIN2018-01-221-0/+116
* | Added a test around `NO_AUTO_VALUE_ON_ZERO`:Edouard CHIN2018-01-171-0/+22
* | Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-141-1/+1
|/
* Add `binary` helper method to fixtures.yalab2017-08-121-1/+2
* Merge remote-tracking branch 'origin/master' into unlock-minitestRafael Mendonça França2017-08-011-0/+2
|\
| * Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* | Merge branch 'master' into unlock-minitestKasper Timm Hansen2017-07-151-1/+31
|\|
| * Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
| * Use bulk INSERT to insert fixturesKir Shatrov2017-06-201-1/+31
* | Merge pull request #29287 from alexcameron89/fix-db-statement-test-48104Matthew Draper2017-06-011-0/+1
|\ \
| * | Reset primary key sequence in FixturesResetPkSequenceTestsAlex Kitchens2017-05-311-0/+1
| |/
* / Ensure fixtures are loaded for FoxyFixturesTestAlex Kitchens2017-05-311-0/+2
|/
* Restore `fixtures :author_addresses`Ryuta Kamizono2017-04-271-1/+1
* Revert "Merge pull request #27636 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-04-261-1/+1
* Passing in no arguments to the dynamic fixture accessor method returns all fi...Kevin McPhillips2017-04-071-0/+18
* Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2017-03-261-1/+1
* Deprecate `supports_migrations?` on connection adaptersRyuta Kamizono2017-02-271-47/+45
* Ensure test threads share a DB connectioneileencodes2017-02-201-0/+6
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Require "models/post" before "models/comment"Yasuo Honda2017-01-041-1/+1
* Revert "Merge pull request #21233 from mtsmfm/disable-referential-integrity-w...Rafael Mendonça França2017-01-031-1/+1
* Merge pull request #21233 from mtsmfm/disable-referential-integrity-without-s...Rafael França2017-01-031-1/+1
|\
| * Use `SET CONSTRAINTS` for `disable_referential_integrity` without superuser p...Fumiaki MATSUSHIMA2016-12-031-1/+1
* | fix #create_fixtures when equal table names in different databasesJulia Lopez2016-12-211-0/+15
* | Throw friendly error message when fixture is not a hashKir Shatrov2016-12-151-2/+12
|/
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-6/+6
* improve error message when include assertions failMichael Grosser2016-09-161-1/+1