diff options
| author | Zog | 2017-12-20 08:12:20 +0100 | 
|---|---|---|
| committer | Zog | 2017-12-20 08:12:20 +0100 | 
| commit | 49a515b474cf64b02f6dfc7a449f3a45aa21e7ca (patch) | |
| tree | ef3bc0330e34bd29fb68431043f66b0ae32ff916 | |
| parent | 6d5ca1fe9782f4e43b38079a920ab0770e2d1cce (diff) | |
| download | chouette-core-49a515b474cf64b02f6dfc7a449f3a45aa21e7ca.tar.bz2 | |
Fix spec after rebase5325-use-policies-for-calendars-sharing
| -rw-r--r-- | spec/views/stop_areas/index.html.slim_spec.rb | 4 | 
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 294acfe1a..8daa5eb4b 100644 --- a/spec/views/stop_areas/index.html.slim_spec.rb +++ b/spec/views/stop_areas/index.html.slim_spec.rb @@ -20,8 +20,8 @@ describe "/stop_areas/index", :type => :view do    it { should have_the_right_number_of_links(stop_areas, 1) }    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_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_link_for_each_item(stop_areas, "show", -> (stop_area){ view.stop_area_referential_stop_area_path(stop_area_referential, stop_area) }) } +    it { should_not have_link_for_each_item(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 | 
