diff --git a/spec/features/tags_spec.rb b/spec/features/tags_spec.rb index 43f04b5f0..6b5889ea7 100644 --- a/spec/features/tags_spec.rb +++ b/spec/features/tags_spec.rb @@ -36,7 +36,8 @@ feature 'Tags' do 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 scenario 'Tag Cloud' do @@ -67,7 +68,9 @@ feature 'Tags' do click_button 'Create Debate' 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 scenario 'Update' do @@ -101,4 +104,4 @@ feature 'Tags' do expect(page).to_not have_content 'Economía' end -end \ No newline at end of file +end