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/features/users/show_spec.rb')
-rw-r--r--spec/features/users/show_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/users/show_spec.rb b/spec/features/users/show_spec.rb
index a8372800700..56d2aaea203 100644
--- a/spec/features/users/show_spec.rb
+++ b/spec/features/users/show_spec.rb
@@ -33,7 +33,7 @@ RSpec.describe 'User page' do
context 'work information' do
it 'shows job title and organization details' do
- user.update(organization: 'GitLab - work info test', job_title: 'Frontend Engineer')
+ user.update!(organization: 'GitLab - work info test', job_title: 'Frontend Engineer')
subject
@@ -41,7 +41,7 @@ RSpec.describe 'User page' do
end
it 'shows job title' do
- user.update(organization: nil, job_title: 'Frontend Engineer - work info test')
+ user.update!(organization: nil, job_title: 'Frontend Engineer - work info test')
subject
@@ -49,7 +49,7 @@ RSpec.describe 'User page' do
end
it 'shows organization details' do
- user.update(organization: 'GitLab - work info test', job_title: '')
+ user.update!(organization: 'GitLab - work info test', job_title: '')
subject