summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-26 21:16:29 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-29 20:02:09 +0900
commit62ecce78ed054c770f890c93443ae1c53be85fab (patch)
treec3fbc70364795548bcfc3fa6c050af5363df49e5
parent5d8ee3ed1cde777adc2e9717bc030b9481fb81c4 (diff)
downloadgitlab-ce-62ecce78ed054c770f890c93443ae1c53be85fab.tar.gz
NULL to nil
-rw-r--r--spec/features/projects/pipeline_schedules_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/pipeline_schedules_spec.rb b/spec/features/projects/pipeline_schedules_spec.rb
index d7112bab017..317949d6b56 100644
--- a/spec/features/projects/pipeline_schedules_spec.rb
+++ b/spec/features/projects/pipeline_schedules_spec.rb
@@ -66,7 +66,7 @@ feature 'Pipeline Schedules', :feature do
end
end
- context 'when ref is NULL' do
+ context 'when ref is nil' do
before do
pipeline_schedule.update_attribute(:ref, nil)
visit_pipelines_schedules
@@ -120,7 +120,7 @@ feature 'Pipeline Schedules', :feature do
expect(page).to have_content('my brand new description')
end
- context 'when ref is NULL' do
+ context 'when ref is nil' do
before do
pipeline_schedule.update_attribute(:ref, nil)
edit_pipeline_schedule