fixes specs
This commit is contained in:
@@ -388,7 +388,7 @@ en:
|
||||
incoming: "Incoming"
|
||||
expired: "Expired"
|
||||
title: "Polls"
|
||||
button: "Participate in this polls"
|
||||
button: "Participate in this poll"
|
||||
show:
|
||||
dates_title: "Participation dates"
|
||||
cant_answer_not_logged_in: "You must %{signin} or %{signup} to participate."
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user