Class: Webhookdb::Postgres::TestingPixie
- Inherits:
-
Object
- Object
- Webhookdb::Postgres::TestingPixie
- Defined in:
- lib/webhookdb/postgres/testing_pixie.rb
Overview
A placeholder model for the magical mixin classes (imaged, ticketable, annotated). We can’t easily test these things with non-Webhookdb::Postgres::Model subclasses, and we can’t easily define Webhookdb::Postgres::Model subclasses as part of a spec/transaction. Even if Sequel can handle it, it creates some global state issues. Make sure this class is only required during specs, and not normal gem usage. It should never have a persistent table; only a table in the test database.