diff options
| author | vlatka pavisic | 2016-11-09 15:10:29 +0100 | 
|---|---|---|
| committer | vlatka pavisic | 2016-11-09 15:10:29 +0100 | 
| commit | 21c6807d2167ffdbcaed58844d1ebafb06c22d6e (patch) | |
| tree | d4f0bca5b97266f08a956de2b946a1bf79a3e964 /spec/features/routes_spec.rb | |
| parent | 56c0f55d2d8d566b931664b85c76dbe3a58e31cc (diff) | |
| parent | 0dbc80d54b1362c9eb0fc87d8d93f3d60ade68e1 (diff) | |
| download | chouette-core-21c6807d2167ffdbcaed58844d1ebafb06c22d6e.tar.bz2 | |
Refs #1872 : Fix conflicts
Diffstat (limited to 'spec/features/routes_spec.rb')
| -rw-r--r-- | spec/features/routes_spec.rb | 33 | 
1 files changed, 0 insertions, 33 deletions
| diff --git a/spec/features/routes_spec.rb b/spec/features/routes_spec.rb index bb4b8ae3b..70f3448ab 100644 --- a/spec/features/routes_spec.rb +++ b/spec/features/routes_spec.rb @@ -41,39 +41,6 @@ describe "Routes", :type => :feature do      end    end -  describe "from line's page, select a route and edit it" do -    it "return to line's page with changed name" do -      visit referential_line_path(referential,line) -      click_link "#{route.name}" -      click_link "Modifier cette séquence d'arrêts" -      fill_in "route_name", :with => "#{route.name}-changed" -      click_button("Modifier séquence d'arrêts") -      expect(page).to have_content("#{route.name}-changed") -    end -  end - -  describe "from line's page, select a route and delete it" do -    it "return to line's page without route name" do -      visit referential_line_path(referential,line) -      click_link "#{route.name}" -      click_link "Supprimer cette séquence d'arrêts" -      expect(page).not_to have_content(route.name) -    end -  end - -  describe "from route's page, select edit boarding/alighting and update it" do -    it "Edits boarding/alighting properties on route stops" do -      visit referential_line_route_path(referential, line, route) -      click_link I18n.t('routes.actions.edit_boarding_alighting') -      expect(page).to have_content(I18n.t('routes.edit_boarding_alighting.title')) -      stop_points.each do |sp| -        expect(page).to have_content(sp.stop_area.name) -        expect(page).to have_content(sp.for_boarding) -        expect(page).to have_content(sp.for_alighting) -      end -    end -  end -    describe "Modifies boarding/alighting properties on route stops" do      it "Puts (http) an update request" do        #visit edit_boarding_alighting_referential_line_route_path(referential, line, route) | 
