mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-05 20:40:14 +01:00
fix failing test
This commit is contained in:
parent
f42a5d3bdd
commit
d5f9f8b240
8 changed files with 12 additions and 14 deletions
|
|
@ -94,7 +94,7 @@ end
|
|||
Then /^I should (see|not see) empty message for (active|hidden) contexts$/ do |visible, state|
|
||||
box = (state=='active') ? "div#active-contexts-empty-nd" : "div#hidden-contexts-empty-nd"
|
||||
|
||||
elem = page.find(box)
|
||||
elem = page.find(box, :visible => false)
|
||||
elem.should_not be_nil
|
||||
|
||||
elem.send(visible=="see" ? "should" : "should_not", be_visible)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue