Merge pull request #1662 from consul/fix-draft-spec

fixes draft spec
This commit is contained in:
Raimond Garcia
2017-06-16 16:26:06 +02:00
committed by GitHub

View File

@@ -86,15 +86,18 @@ feature 'Admin legislation draft versions' do
click_link 'Version 1'
fill_in 'legislation_draft_version_title', with: 'Version 1b'
click_link 'Launch text editor'
fill_in 'legislation_draft_version_title', with: 'Version 1b'
fill_in 'legislation_draft_version_body', with: '# Version 1 body\r\n\r\nParagraph\r\n\r\n>Quote'
within('.fullscreen') do
click_button 'Save changes'
click_link 'Close text editor'
end
click_button 'Save changes'
expect(page).to have_content 'Version 1b'
end
end