diff options
| author | Zog | 2018-05-29 15:51:52 +0200 | 
|---|---|---|
| committer | Johan Van Ryseghem | 2018-05-30 16:29:33 +0200 | 
| commit | 63a277b88de6703dcf4f32508099def1e9cbca19 (patch) | |
| tree | 367488bc99b17d479a77a6b2773046470bf213ad /spec/features/connection_links_spec.rb | |
| parent | 3e8d95ac8168205ac9526fb8663459d691d09c30 (diff) | |
| download | chouette-core-63a277b88de6703dcf4f32508099def1e9cbca19.tar.bz2 | |
Refs #7161; Clean views and routes
Diffstat (limited to 'spec/features/connection_links_spec.rb')
| -rw-r--r-- | spec/features/connection_links_spec.rb | 46 | 
1 files changed, 0 insertions, 46 deletions
| diff --git a/spec/features/connection_links_spec.rb b/spec/features/connection_links_spec.rb deleted file mode 100644 index 7e95aeb13..000000000 --- a/spec/features/connection_links_spec.rb +++ /dev/null @@ -1,46 +0,0 @@ -# coding: utf-8 -RSpec.describe "ConnectionLinks", type: :feature do -  login_user - -  let!(:connection_links) { Array.new(2) { create(:connection_link) } } -  subject { connection_links.first } - -  describe "list" do -    it "display connection_links" do -      visit referential_connection_links_path(referential) -      expect(page).to have_content(connection_links.first.name) -      expect(page).to have_content(connection_links.last.name) -    end - -  end - -  describe "show" do -    it "display connection_link" do -      visit referential_connection_links_path(referential) -      click_link "#{connection_links.first.name}" -      expect(page).to have_content(connection_links.first.name) -    end -  end - -  describe "new" do -    it "creates connection_link and return to show" do -      visit referential_connection_links_path(referential) -      click_link "Ajouter une correspondance" -      fill_in "Nom", :with => "ConnectionLink 1" -      fill_in "Identifiant Neptune", :with => "test:ConnectionLink:1:LOC" -      click_button("Créer correspondance") -      expect(page).to have_content("ConnectionLink 1") -    end -  end - -  describe "edit and return to show" do -    it "edit connection_link" do -      visit referential_connection_link_path(referential, subject) -      click_link "Editer cette correspondance" -      fill_in "Nom", :with => "ConnectionLink Modified" -      click_button("Editer correspondance") -      expect(page).to have_content("ConnectionLink Modified") -    end -  end - -end | 
