Commit Graph

20 Commits

Author SHA1 Message Date
Micah Geisel c39366b11a get rspec tests running in ar adapter gem. 2018-11-20 21:01:46 -08:00
Micah Geisel f68782abec extract DatabaseHelper.with_all_dbs. 2018-05-23 15:49:55 -07:00
Micah Geisel 94cd2e9e1f flatten files and directories in spec/support. 2018-05-23 15:49:55 -07:00
Micah Geisel f9b8cda6b5 remove unused paramter. 2018-05-23 15:49:55 -07:00
Micah Geisel 0e9f57060f sequel helper can now be implemented almost entirely in terms of database helper. 2018-05-23 15:49:55 -07:00
Micah Geisel 7ec6ac6cb2 normalize schema across tests. 2018-05-23 15:49:55 -07:00
Micah Geisel 5909924b28 refactor SequelHelper. 2018-05-23 15:49:55 -07:00
Micah Geisel a2949a2a0e refactor more specs to only test via public API, and remove more partial mocks. 2018-05-23 15:49:55 -07:00
Ernesto Tagwerker 3f76c9d775
Merge pull request #538 from botandrose/fix_sequel_primary_key_sequence_resetting
Fix primary key sequence resetting in Sequel with Postgres and SQLite
2018-05-20 13:41:37 -04:00
Micah Geisel 469ab03c65 move things into SequelHelper that are only used there. 2018-05-05 17:32:46 -07:00
Micah Geisel 9206180a53 fix primary key sequence resetting in sequel with postgres and sqlite. 2018-05-04 11:21:16 -07:00
Micah Geisel 79f8b8e6e9 disable RSpec monkeypatching. 2018-04-30 19:44:09 -07:00
Micah Geisel 9615711c81 fix even more global state spec leakage. 2018-04-26 14:38:02 -07:00
Micah Geisel f7f8ef2cd3 simplify spec loading. 2018-04-26 11:02:29 -07:00
Micah Geisel 2fff7ab3f4 update to rspec 3 syntax. 2018-04-26 10:57:18 -07:00
Micah Geisel 467ab08e35 upgrade to rspec 3. 2018-04-26 09:29:13 -07:00
Kostas Karachalios afb27bc149 Add support for `pre_count` option on Sequel + MySQL 2014-11-21 14:42:25 +01:00
Rob Hunter ed5e9e5378 Specify basic behaviour of Sequel truncation
Connecting to the databases using the same details used in ActiveRecord tests
(at least for now) so that configuration is in only one place -- verifying
compliance with the new Sequel specs won't need existing developers (or CI
systems) to change their process.

Existing behaviour (bugs and all) are verified for the major supported Sequel
connection adapters:

  * postgres
  * sqlite
  * mysql
  * mysql2

Verifying the compliance for other adapters (or the same ones with different
configuration parameters) should be very easy -- just another line.
2014-03-05 12:08:42 +11:00
stanislaw ee08c30de7 upgrade to RSpec2 2012-07-08 21:38:56 -06:00
Corin Langosch 29d70b79eb added basic specs 2011-03-30 10:27:03 +02:00