aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/views/line_referentials/show.html.slim_spec.rb17
-rw-r--r--spec/views/stop_area_referentials/show.html.slim_spec.rb17
2 files changed, 18 insertions, 16 deletions
diff --git a/spec/views/line_referentials/show.html.slim_spec.rb b/spec/views/line_referentials/show.html.slim_spec.rb
index 6734957c8..533b92523 100644
--- a/spec/views/line_referentials/show.html.slim_spec.rb
+++ b/spec/views/line_referentials/show.html.slim_spec.rb
@@ -8,13 +8,14 @@ describe "/line_referentials/show", :type => :view do
render
end
- it "should not present syncing infos and button" do
- expect(view.content_for(:page_header_actions)).to_not have_selector("a[href=\"#{view.sync_line_referential_path(line_referential)}\"]")
- end
+ # FIXME See #6647
+ # it "should not present syncing infos and button" do
+ # expect(view.content_for(:page_header_actions)).to_not have_selector("a[href=\"#{view.sync_line_referential_path(line_referential)}\"]")
+ # end
- with_permission "line_referentials.synchronize" do
- it "should present syncing infos and button" do
- expect(view.content_for(:page_header_actions)).to have_selector("a[href=\"#{view.sync_line_referential_path(line_referential)}\"]", count: 1)
- end
- end
+ # with_permission "line_referentials.synchronize" do
+ # it "should present syncing infos and button" do
+ # expect(view.content_for(:page_header_actions)).to have_selector("a[href=\"#{view.sync_line_referential_path(line_referential)}\"]", count: 1)
+ # end
+ # end
end
diff --git a/spec/views/stop_area_referentials/show.html.slim_spec.rb b/spec/views/stop_area_referentials/show.html.slim_spec.rb
index a7567a969..42e2d761b 100644
--- a/spec/views/stop_area_referentials/show.html.slim_spec.rb
+++ b/spec/views/stop_area_referentials/show.html.slim_spec.rb
@@ -8,13 +8,14 @@ describe "/stop_area_referentials/show", :type => :view do
render
end
- it "should not present syncing infos and button" do
- expect(view.content_for(:page_header_actions)).to_not have_selector("a[href=\"#{view.sync_stop_area_referential_path(stop_area_referential)}\"]")
- end
+ # FIXME See #6647
+ # it "should not present syncing infos and button" do
+ # expect(view.content_for(:page_header_actions)).to_not have_selector("a[href=\"#{view.sync_stop_area_referential_path(stop_area_referential)}\"]")
+ # end
- with_permission "stop_area_referentials.synchronize" do
- it "should present syncing infos and button" do
- expect(view.content_for(:page_header_actions)).to have_selector("a[href=\"#{view.sync_stop_area_referential_path(stop_area_referential)}\"]", count: 1)
- end
- end
+ # with_permission "stop_area_referentials.synchronize" do
+ # it "should present syncing infos and button" do
+ # expect(view.content_for(:page_header_actions)).to have_selector("a[href=\"#{view.sync_stop_area_referential_path(stop_area_referential)}\"]", count: 1)
+ # end
+ # end
end