diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-13 03:08:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-10-13 03:08:53 +0300 |
commit | 0cd52ae4aff38b1fc95dfc9488d61fa0b374eafc (patch) | |
tree | beab0e0c164566a3c0c6fc6e2232eacf5a8fdf8f /spec/features/milestone_spec.rb | |
parent | a9acc0c2fb0f280077edc7a70dbf383c55252af8 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/milestone_spec.rb')
-rw-r--r-- | spec/features/milestone_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/milestone_spec.rb b/spec/features/milestone_spec.rb index 3aaffad314e..98d623902a5 100644 --- a/spec/features/milestone_spec.rb +++ b/spec/features/milestone_spec.rb @@ -28,6 +28,12 @@ RSpec.describe 'Milestone' do expect(find('[data-testid="no-issues-alert"]')).to have_content('Assign some issues to this milestone.') expect(page).to have_content('Nov 16, 2016–Dec 16, 2016') end + + it 'passes redirect_path through to form' do + visit new_project_milestone_path(project, redirect_path: 'new_release') + + expect(find('#redirect_path', visible: :all)[:value]).to eq('new_release') + end end describe 'Open a milestone with closed issues' do |