Add the CSSHandlers file
This commit is contained in:
parent
f6ababc62d
commit
f53b83227f
|
@ -0,0 +1,8 @@
|
|||
class Capybara::RackTest::CSSHandlers
|
||||
def disabled list
|
||||
list.find_all { |node| node.has_attribute? 'disabled' }
|
||||
end
|
||||
def enabled list
|
||||
list.find_all { |node| !node.has_attribute? 'disabled' }
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue