Commit 0b45910
committed
Allow passing a user class to the test app generator
Currently, solidus_auth_devise is tested with a dummy app that specifies
`Spree::LegacyUser` in its `spree.rb initializer. That's not great, but
there's no way of fixing it if the rake task install does not pass
through the user class option.
The way to use this feature would be in an extension's Rakefile:
```rb
SolidusDevSupport::RakeTasks.install(user_class: "Spree::User")
```1 parent d02696e commit 0b45910
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments