diff options
| author | Teddy Wing | 2017-06-15 16:31:22 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-06-15 16:36:12 +0200 |
| commit | 690428d470440c604dcac52549baca8887fcd4c3 (patch) | |
| tree | 270ffd2dee9dd3e5f978b22c44689dab301ec236 /app | |
| parent | 74c33fdd3aa52df6fd431a76790d7c7ab39acfe0 (diff) | |
| download | chouette-core-690428d470440c604dcac52549baca8887fcd4c3.tar.bz2 | |
TableBuilder spec: Use `UserContext`
Instead of building our context with an `OpenStruct`, use the
`UserContext` class that actually exists and represents the thing that
we want to represent.
I had copied the `OpenStruct` way of doing from
"spec/support/pundit/policies.rb" this before I found out that
`UserContext` existed.
Refs #3479
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions
