From 3a738f4509a67d5024fb85bb551c7ec285cd031e Mon Sep 17 00:00:00 2001 From: Zog Date: Fri, 9 Mar 2018 17:25:38 +0100 Subject: Refs #6133; Fix specs --- spec/controllers/exports_controller_spec.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'spec/controllers') 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 -- cgit v1.2.3