diff options
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 | 
