Commit 3cfe1ea
Fixing activerecord tests, and adding them as default.
To do this:
* Database testing was switched to in-memory, resulting in a substantial performance improvement.
* Handling for sub-second date precision was added, as fixtures are all inserted within a second.
* All activerecord tests are now wrapped in transactions.1 parent e24df97 commit 3cfe1ea
15 files changed
Lines changed: 211 additions & 218 deletions
File tree
- examples/providers
- lib/oai/provider/model
- test/activerecord_provider
- config
- database
- helpers
- models
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 78 | | |
113 | 79 | | |
114 | 80 | | |
| |||
0 commit comments