aboutsummaryrefslogtreecommitdiffstats
path: root/spec/features
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/connection_links_spec.rb9
-rw-r--r--spec/features/group_of_lines_spec.rb6
2 files changed, 1 insertions, 14 deletions
diff --git a/spec/features/connection_links_spec.rb b/spec/features/connection_links_spec.rb
index 2f6283dcd..7e95aeb13 100644
--- a/spec/features/connection_links_spec.rb
+++ b/spec/features/connection_links_spec.rb
@@ -1,3 +1,4 @@
+# coding: utf-8
RSpec.describe "ConnectionLinks", type: :feature do
login_user
@@ -19,14 +20,6 @@ RSpec.describe "ConnectionLinks", type: :feature do
click_link "#{connection_links.first.name}"
expect(page).to have_content(connection_links.first.name)
end
-
- it "display map" do
- allow(subject).to receive(:stop_areas).and_return(Array.new(2) { create(:stop_area) })
- visit referential_connection_links_path(referential)
- click_link "#{connection_links.first.name}"
- expect(page).to have_selector("#map.connection_link")
- end
-
end
describe "new" do
diff --git a/spec/features/group_of_lines_spec.rb b/spec/features/group_of_lines_spec.rb
index 8b88e6e9e..6b2f1968a 100644
--- a/spec/features/group_of_lines_spec.rb
+++ b/spec/features/group_of_lines_spec.rb
@@ -40,12 +40,6 @@ describe "Group of lines", :type => :feature do
click_link subject.name
expect(page).to have_content(subject.name)
end
-
- it "display map" do
- visit line_referential_group_of_lines_path(line_referential)
- click_link "#{subject.name}"
- expect(page).to have_selector("#map.group_of_line")
- end
end
# Fixme #1780