Sha256: f0ba320984ab5eea8ecad9602102295a8cee16064d74909f970bd691700844c9

Contents?: true

Size: 258 Bytes

Versions: 17

Compression:

Stored size: 258 Bytes

Contents

class Capybara::RackTest::CSSHandlers < BasicObject
  include ::Kernel
  
  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

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/capybara-2.4.4/lib/capybara/rack_test/css_handlers.rb
capybara-2.6.2 lib/capybara/rack_test/css_handlers.rb
capybara-2.6.1 lib/capybara/rack_test/css_handlers.rb
capybara-2.6.0 lib/capybara/rack_test/css_handlers.rb
angular-rails4-templates-0.4.1 vendor/ruby/2.1.0/gems/capybara-2.4.4/lib/capybara/rack_test/css_handlers.rb
angular-rails4-templates-0.4.0 vendor/ruby/2.1.0/gems/capybara-2.4.4/lib/capybara/rack_test/css_handlers.rb
angular-rails4-templates-0.3.0 vendor/ruby/2.1.0/gems/capybara-2.4.4/lib/capybara/rack_test/css_handlers.rb
capybara-2.5.0 lib/capybara/rack_test/css_handlers.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/capybara-2.4.4/lib/capybara/rack_test/css_handlers.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/capybara-2.4.4/lib/capybara/rack_test/css_handlers.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/capybara-2.4.4/lib/capybara/rack_test/css_handlers.rb
capybara-2.4.4 lib/capybara/rack_test/css_handlers.rb
capybara-2.4.3 lib/capybara/rack_test/css_handlers.rb
capybara-2.4.2 lib/capybara/rack_test/css_handlers.rb
capybara-2.4.1 lib/capybara/rack_test/css_handlers.rb
capybara-2.4.0 lib/capybara/rack_test/css_handlers.rb
capybara-2.3.0 lib/capybara/rack_test/css_handlers.rb