diff options
| author | Luc Donnet | 2015-01-15 16:40:30 +0100 | 
|---|---|---|
| committer | Luc Donnet | 2015-01-15 16:40:30 +0100 | 
| commit | c89c3508eb953e79165ba61aee878db8e4d15ff5 (patch) | |
| tree | f59b362c96c13bd5facba44f356676f3383e6cd3 /spec/features/lines_spec.rb | |
| parent | b9a4d3cde1604f4bea01551d8c85624a313a2dfe (diff) | |
| parent | 7d984efe77efd8e610c91fcefc35c4a3e17412fd (diff) | |
| download | chouette-core-c89c3508eb953e79165ba61aee878db8e4d15ff5.tar.bz2 | |
Fix tests and merge master
Diffstat (limited to 'spec/features/lines_spec.rb')
| -rw-r--r-- | spec/features/lines_spec.rb | 9 | 
1 files changed, 4 insertions, 5 deletions
| diff --git a/spec/features/lines_spec.rb b/spec/features/lines_spec.rb index 4023c1f51..d0db27f10 100644 --- a/spec/features/lines_spec.rb +++ b/spec/features/lines_spec.rb @@ -16,8 +16,7 @@ describe "Lines", :type => :feature do        expect(page).to have_content(lines.last.name)      end -  end -   +  end      describe "show" do            it "display line" do @@ -29,7 +28,7 @@ describe "Lines", :type => :feature do      it "display map" do        visit referential_lines_path(referential)        click_link "#{lines.first.name}" -      expect(page).to have_selector("#map", :class => 'line') +      expect(page).to have_selector("#map.line")      end    end @@ -38,7 +37,7 @@ describe "Lines", :type => :feature do      it "creates line and return to show" do        visit referential_lines_path(referential)        click_link "Ajouter une ligne" -      fill_in "Nom", :with => "Line 1" +      fill_in "line_name", :with => "Line 1"        fill_in "Numéro d'enregistrement", :with => "1"        fill_in "Identifiant Neptune", :with => "test:Line:999"                click_button("Créer ligne") @@ -50,7 +49,7 @@ describe "Lines", :type => :feature do      it "edit line" do        visit referential_line_path(referential, subject)        click_link "Modifier cette ligne" -      fill_in "Nom", :with => "Line Modified" +      fill_in "line_name", :with => "Line Modified"        fill_in "Numéro d'enregistrement", :with => "test-1"        click_button("Modifier ligne")        expect(page).to have_content("Line Modified") | 
