aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/fixtures_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* remove duplicated fixture set namesyuuji.yaginuma2016-09-121-2/+2
* Use `ActiveRecord::TestCase` rather than `ActiveSupport::TestCase` in AR test...Ryuta Kamizono2016-08-111-1/+1
* code gardening: removes redundant selfsXavier Noria2016-08-081-2/+2
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* modernizes hash syntax in activerecordXavier Noria2016-08-061-20/+20
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-77/+77
* Fix `payload[:class_name]` to `payload[:spec_name]`Ryuta Kamizono2016-07-171-2/+2
* Create connection.active_record notification and use that to ensure that lazy-Jeremy Wadsack2016-07-121-0/+40
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* fix regression when loading fixture files with symbol keys.Yves Senn2016-01-131-0/+4
* deletes commented code introduced in db045db (initial commit)Tony Ta2015-12-151-1/+0
* FixtureSet.fixture_class_names should have no default valueJamis Buck2015-10-291-0/+14
* Merge pull request #20574 from repinel/fix-db-fixtures-loadYves Senn2015-09-301-1/+34
|\