diff options
| author | Zog | 2018-03-09 17:25:38 +0100 | 
|---|---|---|
| committer | Zog | 2018-03-12 12:00:15 +0100 | 
| commit | 3a738f4509a67d5024fb85bb551c7ec285cd031e (patch) | |
| tree | 3fd3f0cbfb133e07c66cd3795e81cdd74c648397 /spec/controllers | |
| parent | 0cd50ea684248e13391ef4f5ee5af5550ff6491f (diff) | |
| download | chouette-core-3a738f4509a67d5024fb85bb551c7ec285cd031e.tar.bz2 | |
Refs #6133; Fix specs
Diffstat (limited to 'spec/controllers')
| -rw-r--r-- | spec/controllers/exports_controller_spec.rb | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/spec/controllers/exports_controller_spec.rb b/spec/controllers/exports_controller_spec.rb index dbc8b3f35..3a67497ec 100644 --- a/spec/controllers/exports_controller_spec.rb +++ b/spec/controllers/exports_controller_spec.rb @@ -27,7 +27,9 @@ RSpec.describe ExportsController, :type => :controller do      context "with full params" do        let(:params){{          name: "foo", -        type: "Export::Netex" +        type: "Export::Netex", +        duration: 12, +        export_type: :line        }}        it 'should be successful' do @@ -45,7 +47,7 @@ RSpec.describe ExportsController, :type => :controller do      context "with missing options" do        let(:params){{          name: "foo", -        type: "Export::Workbench" +        type: "Export::Workgroup"        }}        it 'should be unsuccessful' do @@ -56,8 +58,8 @@ RSpec.describe ExportsController, :type => :controller do      context "with all options" do        let(:params){{          name: "foo", -        type: "Export::Workbench", -        timelapse: 90 +        type: "Export::Workgroup", +        duration: 90        }}        it 'should be successful' do | 
