diff options
| author | Teddy Wing | 2017-12-05 11:42:41 +0100 | 
|---|---|---|
| committer | Teddy Wing | 2017-12-05 11:42:41 +0100 | 
| commit | ce2246b3c076d96089939299f8aaede20b01e124 (patch) | |
| tree | 76ff331265a380a2e9a12726c239dbd50ab7f3a1 /spec/features | |
| parent | 544971cb286e29583ffc7e30f10ec46fe0293ba3 (diff) | |
| download | chouette-core-ce2246b3c076d96089939299f8aaede20b01e124.tar.bz2 | |
lines_spec.rb: Use new Ruby hash syntax
Refs #5024
Diffstat (limited to 'spec/features')
| -rw-r--r-- | spec/features/lines_spec.rb | 20 | 
1 files changed, 10 insertions, 10 deletions
| diff --git a/spec/features/lines_spec.rb b/spec/features/lines_spec.rb index 620d411ff..ecb90668c 100644 --- a/spec/features/lines_spec.rb +++ b/spec/features/lines_spec.rb @@ -60,22 +60,22 @@ describe "Lines", type: :feature do      #   it "creates line and return to show" do      #     visit line_referential_lines_path(line_referential)      #     click_link "Ajouter une ligne" -    #     fill_in "line_name", :with => "Line 1" -    #     fill_in "Numéro d'enregistrement", :with => "1" -    #     fill_in "Identifiant Neptune", :with => "chouette:test:Line:999" +    #     fill_in "line_name", with: "Line 1" +    #     fill_in "Numéro d'enregistrement", with: "1" +    #     fill_in "Identifiant Neptune", with: "chouette:test:Line:999"      #     click_button("Créer ligne")      #     expect(page).to have_content("Line 1")      #   end      # end      # Fixme #1780 -    # describe "new with group of line", :truncation => true do +    # describe "new with group of line", truncation: true do      #   it "creates line and return to show" do      #     visit new_line_referential_line_path(line_referential) -    #     fill_in "line_name", :with => "Line 1" -    #     fill_in "Numéro d'enregistrement", :with => "1" -    #     fill_in "Identifiant Neptune", :with => "test:Line:999" -    #     fill_in_token_input('line_group_of_line_tokens', :with => "#{group_of_line.name}") +    #     fill_in "line_name", with: "Line 1" +    #     fill_in "Numéro d'enregistrement", with: "1" +    #     fill_in "Identifiant Neptune", with: "test:Line:999" +    #     fill_in_token_input('line_group_of_line_tokens', with: "#{group_of_line.name}")      #     find_button("Créer ligne").trigger("click")      #     expect(page).to have_text("Line 1")      #     expect(page).to have_text("#{group_of_line.name}") @@ -87,8 +87,8 @@ describe "Lines", type: :feature do      #   it "edit line" do      #     visit line_referential_line_path(line_referential, subject)      #     click_link "Editer cette ligne" -    #     fill_in "line_name", :with => "Line Modified" -    #     fill_in "Numéro d'enregistrement", :with => "test-1" +    #     fill_in "line_name", with: "Line Modified" +    #     fill_in "Numéro d'enregistrement", with: "test-1"      #     click_button("Editer ligne")      #     expect(page).to have_content("Line Modified")      #   end | 
