diff options
| author | Teddy Wing | 2017-07-06 10:51:00 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-07-06 12:30:59 +0200 | 
| commit | 74e94da83d6ea64dcb1e70e69c2fef046453e4a1 (patch) | |
| tree | f7c7a55f5499e1a58c0aa6cdd0259ca827d02f4a /db | |
| parent | 8a2818897911e5b33af6849e2ea648ae6e014eef (diff) | |
| download | chouette-core-74e94da83d6ea64dcb1e70e69c2fef046453e4a1.tar.bz2 | |
TableBuilderHelper: Fix specs which mock `current_referential`
These two specs were failing because of the line:
    current_referential ||= nil
which would set `current_referential` to `nil` even after updating the
object being stubbed to `helper`.
Change the specs to stub the method on the correct object now that
`TableBuilderHelper::URL` doesn't depend on `current_referential`.
Update the faulty line in question to not clobber `current_referential`,
but still give us the `nil` value we were looking for when the helper
method isn't defined.
Refs #3479
Diffstat (limited to 'db')
0 files changed, 0 insertions, 0 deletions
