diff options
| author | Teddy Wing | 2017-08-07 12:19:04 +0200 | 
|---|---|---|
| committer | Robert | 2017-08-11 10:03:46 +0200 | 
| commit | 33d5b92305e063e52500ff17a75a5bfb7fe98043 (patch) | |
| tree | 70f3be3c128d48933e51d4328d4d10cbb103756d /spec/controllers/routes_controller_spec.rb | |
| parent | d4353b2edc764350befcc28a26ce1d9a774e3de2 (diff) | |
| download | chouette-core-33d5b92305e063e52500ff17a75a5bfb7fe98043.tar.bz2 | |
Add views/routes/duplicate.html.slim
Duplicate of new.html.slim for now just to get the page working.
Refs #4189
Diffstat (limited to 'spec/controllers/routes_controller_spec.rb')
| -rw-r--r-- | spec/controllers/routes_controller_spec.rb | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/spec/controllers/routes_controller_spec.rb b/spec/controllers/routes_controller_spec.rb index cf12f00b1..5c17b78b8 100644 --- a/spec/controllers/routes_controller_spec.rb +++ b/spec/controllers/routes_controller_spec.rb @@ -75,4 +75,14 @@ RSpec.describe RoutesController, type: :controller do      end    end +  describe "GET /duplicate" do +    it "returns success" do +      get :duplicate, +        referential_id: route.line.line_referential_id, +        line_id: route.line_id, +        id: route.id + +      expect(response).to be_success +    end +  end  end | 
