diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-25 13:18:41 +0300 |
---|---|---|
committer | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-05-29 14:02:09 +0300 |
commit | ba86ad390cb8fc86ab9835b4165716b7746cd09d (patch) | |
tree | 86ae64458eff1e3d1452af611379304aa99f3c44 /spec | |
parent | 6b75868c7694739bfe3a315c6d789223ee56940a (diff) |
Revert "Reproduced"
This reverts commit 3e0d8b4ca7d7bd0f1ce014b6caaff1b1e32b1f8f.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/pipeline_schedules_spec.rb | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/spec/features/projects/pipeline_schedules_spec.rb b/spec/features/projects/pipeline_schedules_spec.rb index d7112bab017..f40e1bc4930 100644 --- a/spec/features/projects/pipeline_schedules_spec.rb +++ b/spec/features/projects/pipeline_schedules_spec.rb @@ -65,17 +65,6 @@ feature 'Pipeline Schedules', :feature do expect(page).not_to have_content('pipeline schedule') end end - - context 'when ref is NULL' do - before do - pipeline_schedule.update_attribute(:ref, nil) - visit_pipelines_schedules - end - - it 'shows a list of the pipeline schedules with empty ref column' do - expect(first('.branch-name-cell').text).to eq('') - end - end end describe 'POST /projects/pipeline_schedules/new', js: true do @@ -119,19 +108,6 @@ feature 'Pipeline Schedules', :feature do expect(page).to have_content('my brand new description') end - - context 'when ref is NULL' do - before do - pipeline_schedule.update_attribute(:ref, nil) - edit_pipeline_schedule - end - - it 'shows the pipeline schedule with default ref' do - page.within('.git-revision-dropdown-toggle') do - expect(first('.dropdown-toggle-text').text).to eq('master') - end - end - end end def visit_new_pipeline_schedule |