Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/notify/changed_milestone_email.html.haml_spec.rb')
-rw-r--r--spec/views/notify/changed_milestone_email.html.haml_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/notify/changed_milestone_email.html.haml_spec.rb b/spec/views/notify/changed_milestone_email.html.haml_spec.rb
index 50a06683409..03904ff0747 100644
--- a/spec/views/notify/changed_milestone_email.html.haml_spec.rb
+++ b/spec/views/notify/changed_milestone_email.html.haml_spec.rb
@@ -22,7 +22,7 @@ RSpec.describe 'notify/changed_milestone_email.html.haml' do
context 'milestone with start and due dates' do
before do
- milestone.update(start_date: '2018-01-01', due_date: '2018-12-31')
+ milestone.update!(start_date: '2018-01-01', due_date: '2018-12-31')
end
it 'renders with date range' do