add find object
This commit is contained in:
parent
dba8d833c9
commit
124ea5d3cf
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue