Changeset [7ad1ac6b3ad336aa722cba277536b41594a2e1cb] 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...
Committed by James Le Cuirot
- M spec/pickle/adapter_spec.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Assign tickets to <b>Ian White</b>, so I get notified