Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reset column info when messing with columns. | Jon Leighton | 2011-09-13 | 1 | -0/+2 |
| | | | | | | | We are subclassing Session here, but messing with the columns will affect the attribute methods defined on the Session superclass, and therefore other tests, unless we properly isolate it by resetting column info before and after the test run. | ||||
* | please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT | Aaron Patterson | 2011-06-06 | 2 | -2/+2 |
| | |||||
* | Refactor Active Record test connection setup. Please see the ↵ | Jon Leighton | 2011-06-04 | 2 | -2/+2 |
| | | | | 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. | ||||
* | Puts ActiveRecord::SessionStore attributes in white list, fixes #483 | slainer68 | 2011-05-10 | 1 | -0/+6 |
| | |||||
* | share column cache among subclasses, only look up columns per AR::Base ↵ | Aaron Patterson | 2011-02-01 | 1 | -0/+1 |
| | | | | subclass once | ||||
* | In a number of places in the tests, we only need to turn off transactional ↵ | Jon Leighton | 2011-01-11 | 1 | -1/+1 |
| | | | | 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 :) | ||||
* | use persisted? instead of new_record? wherever possible | David Chelimsky | 2010-11-09 | 1 | -2/+2 |
| | | | | | | | | | | | - persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | do not execute the session tests within transactions | Aaron Patterson | 2010-07-25 | 1 | -0/+2 |
| | |||||
* | testing sqlbypass destroy. caching connection during destroy | Aaron Patterson | 2010-07-23 | 1 | -0/+9 |
| | |||||
* | refactoring class methods to a module | Aaron Patterson | 2010-07-22 | 1 | -2/+5 |
| | |||||
* | session_id is a VARCHAR | Santiago Pastorino | 2010-07-22 | 1 | -5/+5 |
| | |||||
* | adding a test for session save | Aaron Patterson | 2010-07-22 | 1 | -0/+10 |
| | |||||
* | testing loaded? method and reducing funcalls | Aaron Patterson | 2010-07-21 | 1 | -0/+10 |
| | |||||
* | testing new_record? and converting to an attribute | Aaron Patterson | 2010-07-21 | 1 | -0/+5 |
| | |||||
* | starting sql bypass test, fixing create_table and drop_table! | Aaron Patterson | 2010-07-21 | 1 | -0/+22 |
| | |||||
* | initializing instance variables | Aaron Patterson | 2010-07-21 | 1 | -0/+63 |