add find object

This commit is contained in:
John Bintz 2012-11-23 16:25:52 -05:00
parent dba8d833c9
commit 124ea5d3cf
1 changed files with 4 additions and 0 deletions

View File

@ -65,3 +65,7 @@ end
def dont_find_object(object) def dont_find_object(object)
dont_find("[data-id='#{object.id}']") dont_find("[data-id='#{object.id}']")
end end
def find_object(object)
find("[data-id='#{object.id}']")
end