diff options
| author | jpl | 2016-10-07 15:29:05 +0200 |
|---|---|---|
| committer | jpl | 2016-10-07 15:29:19 +0200 |
| commit | 15523ffde84e85595224c3b5ecd7e6fa28256ca4 (patch) | |
| tree | 7b5d32bcafd2051239384f1844be6b50c1f61e35 /spec/views | |
| parent | 3c61225461922bbb482795854cea8aadc8d61742 (diff) | |
| download | chouette-core-15523ffde84e85595224c3b5ecd7e6fa28256ca4.tar.bz2 | |
adding link builder to table builder
Diffstat (limited to 'spec/views')
| -rw-r--r-- | spec/views/companies/index.html.erb_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/companies/index.html.erb_spec.rb b/spec/views/companies/index.html.erb_spec.rb index 0e25bac63..e05fa622f 100644 --- a/spec/views/companies/index.html.erb_spec.rb +++ b/spec/views/companies/index.html.erb_spec.rb @@ -9,7 +9,7 @@ describe "/companies/index", :type => :view do it "should render a show link for each group" do render companies.each do |company| - expect(rendered).to have_selector(".company a[href='#{view.line_referential_company_path(line_referential, company)}']", :text => company.name) + expect(rendered).to have_selector("a[href='#{view.line_referential_company_path(line_referential, company)}']") end end |
