fix hover to add hover class to element (ugly); fixes one cucumber test

This commit is contained in:
danielgrippi 2011-08-27 23:20:57 -07:00
parent f2fb431fed
commit 3a27d66ee8
2 changed files with 3 additions and 2 deletions

View file

@ -54,7 +54,7 @@ When /^I append "([^"]*)" to the publisher$/ do |stuff|
end
And /^I hover over the "([^"]+)"$/ do |element|
page.execute_script("$(\"#{element}\").first().mouseover()")
page.execute_script("$(\"#{element}\").first().addClass('hover')")
end
When /^I click to delete the first post$/ do

View file

@ -2938,7 +2938,8 @@ ul.left_nav
a.tag_selector
:width 140px
li:hover
li:hover,
li.hover
.edit,
.unfollow_icon
:display inline-block