diff --git a/spec/controllers/my_modules_controller_spec.rb b/spec/controllers/my_modules_controller_spec.rb index c41b8f3c0..cc89fbbbd 100644 --- a/spec/controllers/my_modules_controller_spec.rb +++ b/spec/controllers/my_modules_controller_spec.rb @@ -63,7 +63,7 @@ describe MyModulesController, type: :controller do context 'when setting due_date' do let(:params) do - { id: my_module.id, my_module: { due_date: '03/21/2019' } } + { id: my_module.id, my_module: { due_date: '03/21/2019 23:59' } } end it 'calls create activity for setting due date' do @@ -102,7 +102,7 @@ describe MyModulesController, type: :controller do context 'when updating due_date' do let(:params) do - { id: my_module.id, my_module: { due_date: '02/21/2019' } } + { id: my_module.id, my_module: { due_date: '02/21/2019 23:59' } } end let(:my_module) do create :my_module, :with_due_date, experiment: experiment