diff options
| author | Teddy Wing | 2017-06-08 14:37:44 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-06-08 14:37:44 +0200 |
| commit | ebd01ff27d3a4b2a57566632ce37873de4acf810 (patch) | |
| tree | f74e971080fe4d4ccf246872df8ff8bd101951b3 /app | |
| parent | 1ea3187de06cb159faf0f773c50263dd69eafaa8 (diff) | |
| download | chouette-core-ebd01ff27d3a4b2a57566632ce37873de4acf810.tar.bz2 | |
TableBuilder spec: Stub a `params` global
Since the `TableBuilder` depends on the controller's `params` hash (the
link builder needs the controller, action, etc. in order to build a
link), we need to stub `params` in order for the helper call to work in
our test.
Still not a fan of this implicit dependency, but we'll see. I might keep
it in because maybe it makes more sense and would require less change to
keep it the way it is. The link builder is highly dynamic and seems like
it would be tricky to make non-dynamic. Needs more thought.
Refs #3479
Diffstat (limited to 'app')
0 files changed, 0 insertions, 0 deletions
