fixes specs
This commit is contained in:
@@ -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