fixes specs

This commit is contained in:
Alberto Garcia Cabeza
2016-12-22 19:06:11 +01:00
parent 6dd3320425
commit 151db53a9b
3 changed files with 4 additions and 3 deletions

View File

@@ -43,7 +43,7 @@ feature "Home" do
end
def ie_alert_box_xpath
"/html/body/div[@class='wrapper']/comment()[contains(.,'ie-callout')]"
"/html/body/div[@class='wrapper ']/comment()[contains(.,'ie-callout')]"
end
end
end

View File

@@ -10,7 +10,8 @@ feature 'Polls' do
visit polls_path
polls.each do |poll|
expect(page).to have_link(poll.name)
expect(page).to have_content(poll.name)
expect(page).to have_link("Participate in this poll")
end
end