Fix tests on JRuby
Fix tests on JRuby

Apparently the JDBC ActiveRecord adapter doesn't like to have queries
executed inside a Fiber while it's using an in-memory database (SQLite),
there it seems to have it's own in-memory database.

janko-m/shrine,janko-m/shrine