Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate decimal columns being automatically treated as integers | Sean Griffin | 2014-05-27 | 1 | -0/+1 |
| | | | | | | With ActiveRecord::Properties, we now have a reasonable path for users to continue to keep this behavior if they want it. This is an edge case that has added a lot of complexity to the code base. | ||||
* | Merge pull request #12016 from roderickvd/uuid_fixes | Rafael Mendonça França | 2014-04-04 | 1 | -0/+9 |
|\ | | | | | | | | | | | | | | | | | | | Auto-generate stable fixture UUIDs on PostgreSQL Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/fixtures.rb activerecord/test/cases/adapters/postgresql/uuid_test.rb activesupport/CHANGELOG.md | ||||
| * | Auto-generate stable fixture UUIDs on PostgreSQL. | Roderick van Domburg | 2014-01-07 | 1 | -0/+9 |
| | | | | | | | | Fixes: #11524 | ||||
* | | Refactor test to use DdlHelper. | Guo Xiang Tan | 2014-03-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Follow-Up to https://github.com/rails/rails/pull/14400 This ensures that all tables are removed after each test and thereby allowing us to run the tests in a random order. | ||||
* | | Test microsecond on mysql 5.6 | Arthur Neves | 2014-03-12 | 1 | -0/+5 |
|/ | |||||
* | Disable available locales checks to avoid warnings running the tests | Carlos Antonio da Silva | 2013-12-17 | 1 | -0/+3 |
| | |||||
* | Get rid of hack for freezing time on AR tests | Carlos Antonio da Silva | 2013-12-12 | 1 | -18/+0 |
| | | | | | We can now make use of the existent #travel/#travel_to helper methods added to AS test case and available in all tests. | ||||
* | Warnings removed for ruby trunk | Arun Agrawal | 2013-11-01 | 1 | -1/+1 |
| | | | Same as 4d4ff531b8807ee88a3fc46875c7e76f613956fb | ||||
* | only warn on leaked time zone state instead of rasing an error. | Yves Senn | 2013-10-25 | 1 | -3/+6 |
| | | | | | | Raising `RuntimeErrors` skips important cleanup code and leads to a lot of subsequent errors. This clutters the test output with a lot of noise. | ||||
* | prevent global timezone state from leaking out of test cases. | Yves Senn | 2013-10-25 | 1 | -3/+47 |
| | |||||
* | log the statement name along with the SQL | Aaron Patterson | 2013-10-04 | 1 | -0/+3 |
| | |||||
* | rm LogIntercepter | Aaron Patterson | 2013-10-04 | 1 | -15/+0 |
| | |||||
* | stop adding singleton methods to the mysql2 adapter | Aaron Patterson | 2013-10-04 | 1 | -0/+15 |
| | |||||
* | interceptor should mimick original method | Neeraj Singh | 2013-07-29 | 1 | -1/+1 |
| | | | | This fix also makes the test order independent. | ||||
* | Set Thread.abort_on_exception for the whole AS, AP, and AR tests | Akira Matsuda + Koichi Sasada | 2013-01-24 | 1 | -0/+2 |
| | | | | this would give us some more clues in case a test silently dies inside Thread | ||||
* | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -2/+1 |
| | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | ||||
* | Revert "Fix annoy warning, when executing testcase." | Andrey Deryabin | 2012-11-30 | 1 | -2/+0 |
| | | | | | | This reverts commit a3024f81228d7b3b446408114a5dc2a86870cd35. REASON: Since warning doesn't exist | ||||
* | Fix typo in module name and make #in_time_zone private | Carlos Antonio da Silva | 2012-11-17 | 1 | -1/+3 |
| | |||||
* | Extract #in_time_zone helper method duplication to a module | Carlos Antonio da Silva | 2012-11-17 | 1 | -0/+13 |
| | |||||
* | Rename "Fixtures" class to "FixtureSet" | Alexey Muranov | 2012-10-07 | 1 | -1/+1 |
| | | | | Rename `ActiveRecord::Fixtures` class to `ActiveRecord::FixtureSet`. Instances of this class normally hold a collection of fixtures (records) loaded either from a single YAML file, or from a file and a folder with the same name. This change make the class name singular and makes the class easier to distinguish from the modules like `ActiveRecord::TestFixtures`, which operates on multiple fixture sets, or `DelegatingFixtures`, `::Fixtures`, etc., and from the class `ActiveRecord::Fixture`, which corresponds to a single fixture. | ||||
* | Fix annoy warning, when executing testcase. | kennyj | 2012-09-11 | 1 | -0/+2 |
| | |||||
* | Remove the dependent_restrict_raises option. | Jon Leighton | 2012-08-10 | 1 | -3/+0 |
| | | | | | | | | | | | | | | | It's not really a good idea to have this as a global config option. We should allow people to specify the behaviour per association. There will now be two new values: * :dependent => :restrict_with_exception implements the current behaviour of :restrict. :restrict itself is deprecated in favour of :restrict_with_exception. * :dependent => :restrict_with_error implements the new behaviour - it adds an error to the owner if there are dependent records present See #4727 for the original discussion of this. | ||||
* | load active_support/deprecation in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+1 |
| | |||||
* | remove duplicate requires of mocha. | Aaron Patterson | 2012-07-03 | 1 | -1/+0 |
| | | | | | Mocha is already required by AS::TestCase, so remove the duplicate requires. | ||||
* | Fix logs name consistency. | kennyj | 2012-05-19 | 1 | -0/+16 |
| | |||||
* | port some mocha to minitest/mock | Aaron Patterson | 2012-05-18 | 1 | -0/+1 |
| | |||||
* | Rename some variables | Alexey Muranov | 2012-05-09 | 1 | -2/+2 |
| | | | | | | Rename some parameters and instance and local variables, mostly in fixtures.rb. Also remove an unused assignment to an instance variable. There are minor code changes. | ||||
* | fix tests for SQLite3Adapter | Andrey Deryabin | 2012-04-27 | 1 | -1/+1 |
| | |||||
* | Remove IdentityMap | Carlos Antonio da Silva | 2012-03-13 | 1 | -3/+0 |
| | |||||
* | Get ActiveRecord::TestCase back on its feet, despite deprecation. It ↵ | Jeremy Kemper | 2012-02-05 | 1 | -31/+0 |
| | | | | requires SQLCounter which was moved to AR internal tests only. | ||||
* | fix a typo [ci skip] | Vijay Dev | 2012-02-01 | 1 | -1/+1 |
| | |||||
* | Remove deprecation warnings from tests | Rafael Mendonça França | 2012-01-31 | 1 | -0/+3 |
| | |||||
* | Moving AR::TestCase in to the AR tests directory | Aaron Patterson | 2012-01-24 | 1 | -1/+1 |
| | |||||
* | require test/unit and sort test order | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | Revert "Regexp.union seems to have different results in 1.8" | Carlos Antonio da Silva | 2012-01-06 | 1 | -3/+3 |
| | | | | | | This reverts commit d80e4ee20e690dfc0f4ec31c41b873d607462872. No need to care about 1.8 anymore, so reverting :) | ||||
* | do not require a file that is not used | Aaron Patterson | 2012-01-05 | 1 | -0/+1 |
| | |||||
* | remove more uses of deprecated logger methods | Aaron Patterson | 2011-12-19 | 1 | -1/+5 |
| | |||||
* | Regexp.union seems to have different results in 1.8 | Aaron Patterson | 2011-12-08 | 1 | -3/+3 |
| | |||||
* | moving ignored regexp to the instance | Aaron Patterson | 2011-12-07 | 1 | -6/+8 |
| | |||||
* | speeding up ignored sql testing | Aaron Patterson | 2011-12-07 | 1 | -1/+4 |
| | |||||
* | If we're going to use a global variable, let's at least namespace it | Jon Leighton | 2011-06-12 | 1 | -4/+4 |
| | |||||
* | Refactor tests to be less brittle | Jon Leighton | 2011-06-12 | 1 | -3/+4 |
| | |||||
* | Move BEGIN and COMMIT into IGNORED_SQL rather than having them as a special ↵ | Jon Leighton | 2011-06-12 | 1 | -1/+1 |
| | | | | case in assert_queries | ||||
* | Print out information about whether the identity map is on or off when ↵ | Jon Leighton | 2011-06-09 | 1 | -5/+6 |
| | | | | running unit tests | ||||
* | do not muck with the load path, that is the test task responsibility | Aaron Patterson | 2011-06-06 | 1 | -6/+0 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 1 | -8/+10 |
| | | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases. | ||||
* | Disable IdentityMap by default for ActiveRecord testing | Akira Matsuda | 2011-05-28 | 1 | -2/+2 |
| | | | | because enabling IM by default will possibly hide some bugs on 3.1 default behavior | ||||
* | Namespace Fixtures in ActiveRecord | Jason Noble | 2011-05-07 | 1 | -1/+1 |
| | | | [Fixes #439] | ||||
* | Run tests without IdentityMap when IM=false is given. | Emilio Tagua | 2011-02-15 | 1 | -1/+1 |
| | |||||
* | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2011-02-15 | 1 | -35/+34 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/examples/performance.rb activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/association_proxy.rb activerecord/lib/active_record/autosave_association.rb activerecord/lib/active_record/base.rb activerecord/lib/active_record/nested_attributes.rb activerecord/test/cases/relations_test.rb |