Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add ConnectionHelper to refactor tests. | Guo Xiang Tan | 2014-04-03 | 1 | -12/+3 |
| | |||||
* | Fix tests not unsubscribing from Notifications. | Guo Xiang Tan | 2014-03-28 | 1 | -2/+2 |
| | | | | See https://github.com/rails/rails/blob/master/activesupport/lib/active_support/notifications.rb#L131 | ||||
* | Teach PostgreSQLAdapter#reset! to actually reset | Matthew Draper | 2014-03-18 | 1 | -0/+31 |
| | | | | It wasn't doing anything beyond clearing the statement cache. | ||||
* | Terminate the backend ourselves on PG 9.2+ | Matthew Draper | 2014-02-12 | 1 | -19/+29 |
| | | | | This should make it harder to accidentally break this test. | ||||
* | Don't skip tests if we don't need to. | Rafael Mendonça França | 2013-11-08 | 1 | -20/+20 |
| | | | | | | | We can conditional define the tests depending on the adapter or connection. Lets keep the skip for fail tests that need to be fixed. | ||||
* | log the statement name along with the SQL | Aaron Patterson | 2013-10-04 | 1 | -0/+10 |
| | |||||
* | stop adding singleton methods to the mysql2 adapter | Aaron Patterson | 2013-10-04 | 1 | -15/+0 |
| | |||||
* | stop adding singleton methods to the PG connection | Aaron Patterson | 2013-10-04 | 1 | -11/+26 |
| | |||||
* | Delete failing test | Jon Leighton | 2013-03-22 | 1 | -36/+0 |
| | | | | | | | | | | | | I don't think this is testing anything useful, and the test code is exceedingly brittle. It is broken since 34c7e73c1def1312e59ef1f334586ff2f668246e because the test code makes assumptions about the implementation of PostgreSQLAdapter#active? which are incorrect after the commit. I could fix this test but it would be even more brittle (by stubbing the underlying @connection.connect_poll) and it doesn't test any complex logic. I conclude that it's not worth it. | ||||
* | class_eval should use __FILE__ and __LINE__ | Neeraj Singh | 2013-01-30 | 1 | -1/+1 |
| | |||||
* | Session variables for mysql, mysql2, and postgresql adapters can be set | Aaron Stone | 2012-12-08 | 1 | -0/+41 |
| | | | | | | | | | in the new 'variables:' hash in each database config section in database.yml. The key-value pairs of this hash will be sent in a 'SET key = value, ...' query on new database connections. The configure_connection methods from mysql and mysql2 into are consolidated into the abstract_mysql base class. | ||||
* | Fix only-once stub logic. | Steve Jorgensen | 2012-08-08 | 1 | -1/+1 |
| | | | | | Didn't fail the test because adapter#query happens to not call raw connection's #query, but don't want to count on that and have a fragile test. | ||||
* | Fix just-plain-wrongness of psql auto-reconnect test. | Steve Jorgensen | 2012-08-07 | 1 | -8/+9 |
| | | | | | | Full test requiring manual intervention was fine, but w/ simulated disconnect, assertion was backward & still passing. Was several kinds of wrong. | ||||
* | Stop being silly with formatting of method aliasing. | Steve Jorgensen | 2012-07-16 | 1 | -3/+3 |
| | |||||
* | Simulated & actual (manual/skipped) PostgreSQL auto-reconnection tests. | Steve Jorgensen | 2012-07-16 | 1 | -0/+72 |
| | |||||
* | Unify the collation API for the database adpters | Rafael Mendonça França | 2012-07-01 | 1 | -2/+2 |
| | |||||
* | Support collate and ctype on the PostgreSQL. | kennyj | 2012-06-29 | 1 | -0/+8 |
| | |||||
* | Change minimum (default) log level in PostgreSQL to warning. | kennyj | 2012-06-18 | 1 | -0/+4 |
| | |||||
* | Fix logs name consistency. | kennyj | 2012-05-19 | 1 | -0/+44 |
| | |||||
* | Postgresql: add test case for setting custom libpq connection parameters | Lars Kanis | 2012-01-04 | 1 | -0/+15 |
| | |||||
* | forgot to add this test case | Aaron Patterson | 2011-07-22 | 1 | -0/+14 |