diff options
| -rw-r--r-- | app/views/lines/show.html.slim | 2 | ||||
| -rw-r--r-- | spec/features/routes_spec.rb | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/app/views/lines/show.html.slim b/app/views/lines/show.html.slim index d887d2181..6c2c88adf 100644 --- a/app/views/lines/show.html.slim +++ b/app/views/lines/show.html.slim @@ -25,7 +25,7 @@          = t('lines.index.unset')        - else          = link_to @line.network.name, [@line_referential, @line.network] - +omg      p        label = "#{@line.human_attribute_name(:company)} : "        - if @line.company.nil? diff --git a/spec/features/routes_spec.rb b/spec/features/routes_spec.rb index dcaf88b85..5aea98c90 100644 --- a/spec/features/routes_spec.rb +++ b/spec/features/routes_spec.rb @@ -13,7 +13,7 @@ describe "Routes", :type => :feature do    describe "from lines page to a line page" do      it "display line's routes" do        visit referential_lines_path(referential) -      click_link "Voir" +      first(:link, 'Voir').click        expect(page).to have_content(route.name)        expect(page).to have_content(route2.name)      end | 
