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