aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
authorjpl2016-10-07 15:29:05 +0200
committerjpl2016-10-07 15:29:19 +0200
commit15523ffde84e85595224c3b5ecd7e6fa28256ca4 (patch)
tree7b5d32bcafd2051239384f1844be6b50c1f61e35 /spec/views
parent3c61225461922bbb482795854cea8aadc8d61742 (diff)
downloadchouette-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.rb2
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