Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avoid deprecation warnings when running AR tests | Aaron Patterson | 2011-12-24 | 1 | -1/+4 |
| | |||||
* | 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 | ||||
| * | refactor fixtures to do less work in the constructor | Aaron Patterson | 2011-02-11 | 1 | -1/+1 |
| | | |||||
| * | ignore max identifier length queries from pg | Aaron Patterson | 2011-02-08 | 1 | -1/+1 |
| | | |||||
| * | we do not use this method, so delete | Aaron Patterson | 2011-02-07 | 1 | -12/+0 |
| | | |||||
| * | update ignored SQL for oracle | Aaron Patterson | 2011-02-07 | 1 | -1/+1 |
| | | |||||
| * | removing some freedom patches. use notification system to count sql queries | Aaron Patterson | 2011-02-07 | 1 | -17/+18 |
| | | |||||
| * | adjust query counts to be consistent across databases, make sure database ↵ | Aaron Patterson | 2011-02-04 | 1 | -1/+1 |
| | | | | | | | | log the same things | ||||
| * | In a number of places in the tests, we only need to turn off transactional ↵ | Jon Leighton | 2011-01-11 | 1 | -0/+4 |
| | | | | | | | | fixtures when the DB does not support savepoints. This speeds the test run up by about 8-9% on my computer, when running rake test_sqlite3_mem :) | ||||
| * | Enable the sqlite3 in-memory test connection to work | Jon Leighton | 2011-01-11 | 1 | -5/+11 |
| | | |||||
* | | Merge remote branch 'rails/master' into identity_map | Emilio Tagua | 2010-12-20 | 1 | -5/+0 |
|\| | | | | | | | | | | | | | | | Conflicts: 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/persistence.rb | ||||
| * | do not require ruby-debug automatically. please require it if you have ↵ | Aaron Patterson | 2010-11-19 | 1 | -5/+0 |
| | | | | | | | | declared it as a dependency | ||||
* | | Set Identity Map disabled by default. Enable it for testing. | Emilio Tagua | 2010-11-19 | 1 | -0/+3 |
| | | |||||
* | | IdentityMap - misc fixes | Marcin Raczkowski | 2010-11-19 | 1 | -1/+8 |
|/ | | | | | | - Added IdentityMap to be included into AR::Base - Fixed bug with Mysql namespace missing when running tests only for sqlite - Added sqlite as default connection | ||||
* | converted exec to exec_query for sqlite | Aaron Patterson | 2010-11-05 | 1 | -3/+3 |
| | |||||
* | ignoring certain SQL when using Oracle | Aaron Patterson | 2010-11-03 | 1 | -0/+4 |
| | |||||
* | exec returns an AR::Result | Aaron Patterson | 2010-10-26 | 1 | -0/+8 |
| | |||||
* | fixing tests. woo | Aaron Patterson | 2010-09-21 | 1 | -4/+7 |
| | |||||
* | providing arel with column information when possible [#5392 state:resolved] | Aaron Patterson | 2010-09-21 | 1 | -0/+9 |
| | |||||
* | Move helper methods to helper.rb. Make test not depend on local TZ to pass ↵ | Emilio Tagua | 2010-09-21 | 1 | -0/+14 |
| | | | | | | or fail. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Implemented ActiveRecord::Migrations#copy based on James Adam's idea | Piotr Sarnacki | 2010-09-03 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | ActiveRecord::Migration#copy allows to copy migrations from one place to another, changing migrations versions and adding scope to filename. For example: ActiveRecord::Migration.copy("db/migrate", :blog_engine => "vendor/gems/blog/db/migrate") will copy all migrations from vendor/gems/blog/db/migrate to db/migrate with such format: Versions of copied migrations will be reversioned to be appended after migrations that already exists in db/migrate | ||||
* | restricts a test to < 1.9, and rewrites it using a proper expectation | Xavier Noria | 2010-03-13 | 1 | -0/+1 |
| | | | | Signed-off-by: wycats <wycats@gmail.com> | ||||
* | Make many parts of Rails lazy. In order to facilitate this, | wycats | 2010-03-07 | 1 | -0/+1 |
| | | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook | ||||
* | activerecord test load paths | Joshua Peek | 2010-02-28 | 1 | -0/+3 |
| | |||||
* | Revert "Fix test load paths for those not using bundler" | Carlhuda | 2010-02-23 | 1 | -4/+1 |
| | | | | | | This reverts commit eec2d301d4ce9df9c71c1a5aa63053eb970b6818. This commit broke tests. You cannot have a file called "bundler" on the load path. | ||||
* | Fix test load paths for those not using bundler | Joshua Peek | 2010-02-15 | 1 | -1/+4 |
| | |||||
* | Get rails tests running on bundler 0.9 | Carl Lerche | 2010-01-31 | 1 | -8/+1 |
| | |||||
* | Autoload AR test case | Joshua Peek | 2010-01-04 | 1 | -2/+0 |
| | |||||
* | Don't publicize with_scope for tests since it may shadow public misuse | Jeremy Kemper | 2009-12-28 | 1 | -5/+0 |
| | |||||
* | No need to use ValidationsRepairHelper hack on ActiveModel anymore, ↵ | José Valim | 2009-12-23 | 1 | -1/+2 |
| | | | | Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there. | ||||
* | Fully expand relative rails framework paths and make sure we aren't | Joshua Peek | 2009-12-16 | 1 | -4/+2 |
| | | | | adding any to the load path more than once. | ||||
* | Avoid adding component lib/ to load path multiple times | Joshua Peek | 2009-11-09 | 1 | -1/+3 |
| | |||||
* | Have all the tests running off a single Gemfile | Yehuda Katz + Carl Lerche | 2009-10-20 | 1 | -7/+6 |
| | |||||
* | Use bundled env for tests only | Jeremy Kemper | 2009-10-19 | 1 | -1/+7 |
| | |||||
* | Changed ActiveRecord to use new callbacks and speed up observers by only ↵ | José Valim | 2009-09-08 | 1 | -2/+0 |
| | | | | | | notifying events that are actually being consumed. Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵ | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -2/+0 |
| | | | | state:resolved] | ||||
* | Merge branch 'master' into active_model | Joshua Peek | 2009-05-29 | 1 | -0/+23 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb | ||||
| * | replace the aaa_create_tables_test hack with loading test database schema in ↵ | Mislav Marohnić | 2009-05-17 | 1 | -0/+18 |
| | | | | | | | | | | | | the test helper [#2663 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> |