diff --git a/spec/requests/api/job_definitions_spec.rb b/spec/requests/api/job_definitions_spec.rb index 7baeac26..937c962c 100644 --- a/spec/requests/api/job_definitions_spec.rb +++ b/spec/requests/api/job_definitions_spec.rb @@ -204,7 +204,7 @@ expect(result['name']).to eq(params[:name]) expect(result['description']).to eq(params[:description]) expect(result['script']).to eq(params[:script]) - expect(result['cron']).to eq(params[:cron]) + expect(result['cron']).to match_array(params[:cron]) end context 'an invalid schedule' do