diff options
| author | Xinhui | 2016-10-11 11:07:12 +0200 |
|---|---|---|
| committer | Xinhui | 2016-10-11 11:07:12 +0200 |
| commit | 29297c03d56314f0b19e7695c4bdeca69413a8a4 (patch) | |
| tree | 49b687fb534f6f3afb24dee8c80522f9b7febb1f /spec | |
| parent | 1e5230e9d3366516763a43197a63da51762282d9 (diff) | |
| download | chouette-core-29297c03d56314f0b19e7695c4bdeca69413a8a4.tar.bz2 | |
Disable codifline GroupOfLine Sync
Refs #1794
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/views/companies/index.html.erb_spec.rb | 21 |
1 files changed, 11 insertions, 10 deletions
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 |
