Display title with an * when status is draft in version chooser

This commit is contained in:
Amaia Castro
2017-01-04 12:13:19 +01:00
parent c935373c07
commit 375602d297
4 changed files with 8 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ feature 'Legislation Draft Versions' do
within('select#draft_version_id') do
expect(page).to have_content("Version 1")
expect(page).to have_content("Version 2")
expect(page).to have_content("Version 3")
expect(page).to have_content("Version 3 *")
end
end
@@ -93,7 +93,7 @@ feature 'Legislation Draft Versions' do
within('select#draft_version_id') do
expect(page).to have_content("Version 1")
expect(page).to have_content("Version 2")
expect(page).to have_content("Version 3")
expect(page).to have_content("Version 3 *")
end
end