aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
authorZog2018-01-25 17:48:48 +0100
committerZog2018-01-25 17:48:48 +0100
commit734c03fdf3d6580da87107c474c5eeeda6a79ac4 (patch)
tree8c7ba5de4be95ec8ccdf636a2aa15a6223c76979 /spec/views
parent1555c56450b0b0c12d1aa4f5977161c193cfe0cb (diff)
downloadchouette-core-734c03fdf3d6580da87107c474c5eeeda6a79ac4.tar.bz2
Refs #5586; Fix specs
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/stop_areas/index.html.slim_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/stop_areas/index.html.slim_spec.rb b/spec/views/stop_areas/index.html.slim_spec.rb
index 520cecc1a..6e66c5ab9 100644
--- a/spec/views/stop_areas/index.html.slim_spec.rb
+++ b/spec/views/stop_areas/index.html.slim_spec.rb
@@ -13,6 +13,7 @@ describe "/stop_areas/index", :type => :view do
allow(view).to receive(:link_with_search).and_return("#")
allow(view).to receive(:collection).and_return(stop_areas)
allow(view).to receive(:current_referential).and_return(stop_area_referential)
+ allow(view).to receive(:params).and_return({action: :index})
controller.request.path_parameters[:stop_area_referential_id] = stop_area_referential.id
render
end