diff options
| author | Luc Donnet | 2015-01-06 14:16:06 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2015-01-06 14:16:06 +0100 | 
| commit | e0328e5192be5aab634590c8f736d2ea9b871d67 (patch) | |
| tree | cc14e26533190ccbfc7661bcc459fcfb562823a0 /spec/features/networks_spec.rb | |
| parent | 421781dfcb08746dae48f84e144a1c92e12dff49 (diff) | |
| download | chouette-core-e0328e5192be5aab634590c8f736d2ea9b871d67.tar.bz2 | |
Fix features and views spec
Diffstat (limited to 'spec/features/networks_spec.rb')
| -rw-r--r-- | spec/features/networks_spec.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/spec/features/networks_spec.rb b/spec/features/networks_spec.rb index 3bfb63ffd..ec65209eb 100644 --- a/spec/features/networks_spec.rb +++ b/spec/features/networks_spec.rb @@ -28,7 +28,7 @@ describe "Networks", :type => :feature do        allow(subject).to receive(:stop_areas).and_return(Array.new(2) { Factory(:stop_area) })        visit referential_networks_path(referential)        click_link "#{networks.first.name}" -      expect(page).to have_selector("#map", :class => 'network') +      expect(page).to have_selector("#map.network")      end    end @@ -38,7 +38,7 @@ describe "Networks", :type => :feature do        allow(subject).to receive(:stop_areas).and_return(Array.new(2) { Factory(:stop_area) })        visit referential_networks_path(referential)        click_link "Ajouter un réseau" -      fill_in "Nom", :with => "Network 1" +      fill_in "network_name", :with => "Network 1"        fill_in "Numéro d'enregistrement", :with => "test-1"        fill_in "Identifiant Neptune", :with => "test:GroupOfLine:1"                click_button("Créer réseau") @@ -51,7 +51,7 @@ describe "Networks", :type => :feature do        allow(subject).to receive(:stop_areas).and_return(Array.new(2) { Factory(:stop_area) })        visit referential_network_path(referential, subject)        click_link "Modifier ce réseau" -      fill_in "Nom", :with => "Network Modified" +      fill_in "network_name", :with => "Network Modified"        fill_in "Numéro d'enregistrement", :with => "test-1"        click_button("Modifier réseau")        expect(page).to have_content("Network Modified") | 
