Commit Graph

7 Commits

Author SHA1 Message Date
Jared Beck 033b13504a Bind parameters in where_object{,_changes}
[Fixes #696]
2016-01-18 15:17:25 -05:00
Jared Beck f4cf6c16db Simplify test data: fruit names
It's not clear to me that random test data makes this particular
test better.
2015-12-19 21:16:25 -05:00
Jared Beck 811dc0ed47 Hopefully fix intermittent PG test fail in CI
Test would fail when FFaker::Color.name returned the same exact
string twice in a row. This is not FFaker's fault.

Incidentally, the FFaker color list currently has 19 entries.
(https://github.com/ffaker/ffaker/blob/master/lib/ffaker/data/color/names_list)
The test suite runs this postgres-specific test six times (3 rubies * 2 major
versions of rails). So, I think the chance of the test suite failing was
(1 / 19)^2 * 6, or 0.016, or about 2%.
2015-12-19 21:13:30 -05:00
Jared Beck 86f8c5dd33 ffaker 2.1 (was 1.31) 2015-12-19 19:02:31 -05:00
Jared Beck 59cae397d8 Fix NameError: uninitialized constant JsonVersion 2015-11-17 23:59:35 -05:00
Ben Atkins 916b78897b Only execute the JsonVersion tests against ActiveRecord4 since there is no ActiveRecord3 support for it 2015-05-07 14:56:28 -04:00
Ben Atkins 7834309857 Add test cases explicitly surrounding JSON type columns when the test suite is executed against Postgres 2015-05-06 22:29:39 -04:00