From 29297c03d56314f0b19e7695c4bdeca69413a8a4 Mon Sep 17 00:00:00 2001 From: Xinhui Date: Tue, 11 Oct 2016 11:07:12 +0200 Subject: Disable codifline GroupOfLine Sync Refs #1794 --- spec/views/companies/index.html.erb_spec.rb | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'spec') diff --git a/spec/views/companies/index.html.erb_spec.rb b/spec/views/companies/index.html.erb_spec.rb index e05fa622f..5bb528744 100644 --- a/spec/views/companies/index.html.erb_spec.rb +++ b/spec/views/companies/index.html.erb_spec.rb @@ -6,16 +6,17 @@ describe "/companies/index", :type => :view do let!(:companies) { assign :companies, Array.new(2) { create(:company, line_referential: line_referential) }.paginate } let!(:search) { assign :q, Ransack::Search.new(Chouette::Company) } - it "should render a show link for each group" do - render - companies.each do |company| - expect(rendered).to have_selector("a[href='#{view.line_referential_company_path(line_referential, company)}']") - end - end + # Fixme #1795 + # it "should render a show link for each group" do + # render + # companies.each do |company| + # expect(rendered).to have_selector("a[href='#{view.line_referential_company_path(line_referential, company)}']") + # end + # end - it "should render a link to create a new group" do - render - expect(view.content_for(:sidebar)).to have_selector(".actions a[href='#{new_line_referential_company_path(line_referential)}']") - end + # it "should render a link to create a new group" do + # render + # expect(view.content_for(:sidebar)).to have_selector(".actions a[href='#{new_line_referential_company_path(line_referential)}']") + # end end -- cgit v1.2.3