Commit 77836aae authored by Enrique Alcántara's avatar Enrique Alcántara

Merge branch 'psi-iteration-edit-update' into 'master'

Update description when editing iteration

See merge request gitlab-org/gitlab!40476
parents b1d0a29f c1ea58bc
...@@ -3,6 +3,7 @@ mutation createIteration($input: CreateIterationInput!) { ...@@ -3,6 +3,7 @@ mutation createIteration($input: CreateIterationInput!) {
iteration { iteration {
title title
description description
descriptionHtml
startDate startDate
dueDate dueDate
webUrl webUrl
......
...@@ -4,6 +4,7 @@ mutation updateIteration($input: UpdateIterationInput!) { ...@@ -4,6 +4,7 @@ mutation updateIteration($input: UpdateIterationInput!) {
id id
title title
description description
descriptionHtml
startDate startDate
dueDate dueDate
} }
......
---
title: Update description when editing iteration
merge_request: 40476
author:
type: fixed
...@@ -46,6 +46,7 @@ RSpec.describe 'User views iteration' do ...@@ -46,6 +46,7 @@ RSpec.describe 'User views iteration' do
aggregate_failures do aggregate_failures do
expect(page).to have_content(updated_title) expect(page).to have_content(updated_title)
expect(page).to have_content(updated_desc)
expect(page).to have_content(updated_start_date.strftime('%b %-d, %Y')) expect(page).to have_content(updated_start_date.strftime('%b %-d, %Y'))
expect(page).to have_content(updated_due_date.strftime('%b %-d, %Y')) expect(page).to have_content(updated_due_date.strftime('%b %-d, %Y'))
expect(page).to have_current_path(group_iteration_path(group, iteration)) expect(page).to have_current_path(group_iteration_path(group, iteration))
......
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