Commit 62ecce78 authored by Shinya Maeda's avatar Shinya Maeda

NULL to nil

parent 5d8ee3ed
...@@ -66,7 +66,7 @@ feature 'Pipeline Schedules', :feature do ...@@ -66,7 +66,7 @@ feature 'Pipeline Schedules', :feature do
end end
end end
context 'when ref is NULL' do context 'when ref is nil' do
before do before do
pipeline_schedule.update_attribute(:ref, nil) pipeline_schedule.update_attribute(:ref, nil)
visit_pipelines_schedules visit_pipelines_schedules
...@@ -120,7 +120,7 @@ feature 'Pipeline Schedules', :feature do ...@@ -120,7 +120,7 @@ feature 'Pipeline Schedules', :feature do
expect(page).to have_content('my brand new description') expect(page).to have_content('my brand new description')
end end
context 'when ref is NULL' do context 'when ref is nil' do
before do before do
pipeline_schedule.update_attribute(:ref, nil) pipeline_schedule.update_attribute(:ref, nil)
edit_pipeline_schedule edit_pipeline_schedule
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment