diff options
| author | Zog | 2018-02-08 10:33:46 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2018-02-20 10:20:18 +0100 | 
| commit | 3dcea81c627c1c740630ce7306bac55256ce8037 (patch) | |
| tree | 1ff79bdb5f04aba4503b47c781aaa0146d1ac32a /spec/support | |
| parent | 3809301116aec5466445b29637026804da3d6745 (diff) | |
| download | chouette-core-3dcea81c627c1c740630ce7306bac55256ce8037.tar.bz2 | |
Refs #5863 @6h; Remove workbench id from the querystring
Infer it when possible, and use a nested otherwise
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/decorator_helpers.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/spec/support/decorator_helpers.rb b/spec/support/decorator_helpers.rb index b2c41e842..544604f61 100644 --- a/spec/support/decorator_helpers.rb +++ b/spec/support/decorator_helpers.rb @@ -8,6 +8,7 @@ module Support          let( :features ){ [] }          let( :filtered_action_links){}          before do +          allow(subject.h).to receive(:duplicate_workbench_referential_path).and_return new_workbench_referential_path(referential.workbench, from: referential.id)            allow_any_instance_of(Draper::HelperProxy).to receive(:policy).and_return policy            allow_any_instance_of(AF83::Decorator::Link).to receive(:check_feature){|f|              features.include?(f) | 
