aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorZog2017-12-19 16:10:15 +0100
committerZog2017-12-19 16:10:15 +0100
commit4b9eebda5bb81a214c87351c01c720c0cb0cf2e8 (patch)
treeb82f4c685bef58509b5649559d2519f8791849ba /spec
parent4983eca8f4be6acf00589d4d34e7dc17377bb070 (diff)
downloadchouette-core-4b9eebda5bb81a214c87351c01c720c0cb0cf2e8.tar.bz2
Refs #5287; Uniformize actions5287-clean-links-in-stop-areas-index
Diffstat (limited to 'spec')
-rw-r--r--spec/views/stop_areas/index.html.slim_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/stop_areas/index.html.slim_spec.rb b/spec/views/stop_areas/index.html.slim_spec.rb
index e0c50685c..64c958879 100644
--- a/spec/views/stop_areas/index.html.slim_spec.rb
+++ b/spec/views/stop_areas/index.html.slim_spec.rb
@@ -40,8 +40,8 @@ describe "/stop_areas/index", :type => :view do
with_permission "stop_areas.create" do
it { should have_link_for_each_stop_area(stop_areas, "show", -> (stop_area){ view.stop_area_referential_stop_area_path(stop_area_referential, stop_area) }) }
- it { should have_link_for_each_stop_area(stop_areas, "create", -> (stop_area){ view.new_stop_area_referential_stop_area_path(stop_area_referential) }) }
- it { should have_the_right_number_of_links(stop_areas, 2) }
+ it { should_not have_link_for_each_stop_area(stop_areas, "create", -> (stop_area){ view.new_stop_area_referential_stop_area_path(stop_area_referential) }) }
+ it { should have_the_right_number_of_links(stop_areas, 1) }
end
with_permission "stop_areas.update" do