Fixes spec: Tags are not separated by commas any more

This commit is contained in:
kikito
2015-07-29 18:48:39 +02:00
parent efbb9a52d8
commit cee0aef916

View File

@@ -36,7 +36,8 @@ feature 'Tags' do
visit debate_path(debate) visit debate_path(debate)
expect(page).to have_content "Economía, Hacienda" expect(page).to have_content "Economía"
expect(page).to have_content "Hacienda"
end end
scenario 'Tag Cloud' do scenario 'Tag Cloud' do
@@ -67,7 +68,9 @@ feature 'Tags' do
click_button 'Create Debate' click_button 'Create Debate'
expect(page).to have_content 'Debate was successfully created.' expect(page).to have_content 'Debate was successfully created.'
expect(page).to have_content 'Economía, Hacienda, Impuestos' expect(page).to have_content 'Economía'
expect(page).to have_content 'Hacienda'
expect(page).to have_content 'Impuestos'
end end
scenario 'Update' do scenario 'Update' do
@@ -101,4 +104,4 @@ feature 'Tags' do
expect(page).to_not have_content 'Economía' expect(page).to_not have_content 'Economía'
end end
end end