lets see if page.should have_no_css actually waits for the element to disappear
This commit is contained in:
parent
f4169d7f30
commit
bf9996b25d
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ end
|
|||
Then /^I should see "([^"]*)" aspect unselected$/ do |aspect_name|
|
||||
aspect = @me.aspects.where(:name => aspect_name).first
|
||||
within("#aspects_list") do
|
||||
page.should_not have_css "li[data-aspect_id='#{aspect.id}'] .selected"
|
||||
page.should have_no_css "li[data-aspect_id='#{aspect.id}'] .selected"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue