diff options
Diffstat (limited to 'spec/views')
| -rw-r--r-- | spec/views/vehicle_journeys/index.html.slim_spec.rb | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/spec/views/vehicle_journeys/index.html.slim_spec.rb b/spec/views/vehicle_journeys/index.html.slim_spec.rb index 7f0a9c5aa..920067fa9 100644 --- a/spec/views/vehicle_journeys/index.html.slim_spec.rb +++ b/spec/views/vehicle_journeys/index.html.slim_spec.rb @@ -13,6 +13,7 @@ describe "/vehicle_journeys/index", :type => :view do      allow(view).to receive(:link_with_search).and_return("#")      allow(view).to receive(:collection).and_return(vehicle_journeys)      allow(view).to receive(:current_referential).and_return(referential) +    allow(view).to receive(:has_feature?).and_return(true)      controller.request.path_parameters[:referential_id] = referential.id      render    end | 
