diff options
| author | Alban Peignier | 2016-05-15 10:25:11 +0200 | 
|---|---|---|
| committer | Alban Peignier | 2016-05-15 10:25:11 +0200 | 
| commit | 297727032a0c1fddfbb9d8864deda1ec24ea36f6 (patch) | |
| tree | 62868de1770546b748b5fec3c59e806cbe5c8f21 /spec/features/stop_areas_spec.rb | |
| parent | affbacfcd955230f66badb261dcc462cca9cd0b9 (diff) | |
| download | chouette-core-297727032a0c1fddfbb9d8864deda1ec24ea36f6.tar.bz2 | |
Associate StopAreaReferential to Referential. Create ReferentialStopAreas to manage lines in Referential. Refs #822
Diffstat (limited to 'spec/features/stop_areas_spec.rb')
| -rw-r--r-- | spec/features/stop_areas_spec.rb | 23 | 
1 files changed, 11 insertions, 12 deletions
| diff --git a/spec/features/stop_areas_spec.rb b/spec/features/stop_areas_spec.rb index 0c5684a5b..c71f09e63 100644 --- a/spec/features/stop_areas_spec.rb +++ b/spec/features/stop_areas_spec.rb @@ -31,18 +31,17 @@ describe "StopAreas", :type => :feature do    end -  # FIXME #822 -  # describe "new" do -  #   it "creates stop_area and return to show" do -  #     visit stop_area_referential_stop_areas_path(stop_area_referential) -  #     click_link "Ajouter un arrêt" -  #     fill_in "stop_area_name", :with => "StopArea 1" -  #     fill_in "Numéro d'enregistrement", :with => "test-1" -  #     fill_in "Identifiant Neptune", :with => "test:StopArea:1" -  #     click_button("Créer arrêt") -  #     expect(page).to have_content("StopArea 1") -  #   end -  # end +  describe "new" do +    it "creates stop_area and return to show" do +      visit stop_area_referential_stop_areas_path(stop_area_referential) +      click_link "Ajouter un arrêt" +      fill_in "stop_area_name", :with => "StopArea 1" +      fill_in "Numéro d'enregistrement", :with => "test-1" +      fill_in "Identifiant Neptune", :with => "test:StopArea:1" +      click_button("Créer arrêt") +      expect(page).to have_content("StopArea 1") +    end +  end    describe "edit and return to show" do      it "edit stop_area" do | 
