Changeset [7ad1ac6b3ad336aa722cba277536b41594a2e1cb] by James Le Cuirot
Revision 7ad1ac6b3ad336aa722cba277536b41594a2e1cb,
committed by James Le Cuirot
· November 23rd, 2014 @ 11:08 AM
Create real named classes in adapter spec
This is arguably less hacky than creating anonymous classes
and
stubbing the name method. We safely remove the constants after
each example. It also allows us to use these classes against an
in-memory SQLite3 database if we wanted to.
https://github.com/ianwhite/pickle/commit/7ad1ac6b3ad336aa722cba277...
1 changed file
-
M
spec/pickle/adapter_spec.rb