Sha256: 74c659825c1a455ea38c47984b70b45e0f24ec6b7a257096c97c4210b08d164e

Contents?: true

Size: 179 Bytes

Versions: 7

Compression:

Stored size: 179 Bytes

Contents

Capybara.add_selector :record do
  xpath { |record| XPath.css("#" + ActionController::RecordIdentifier.dom_id(record)) }
  match { |record| record.is_a?(ActiveRecord::Base) }
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
utensils-0.0.15 lib/utensils/capybara_extensions.rb
utensils-0.0.14 lib/utensils/capybara_extensions.rb
utensils-0.0.13 lib/utensils/capybara_extensions.rb
utensils-0.0.12 lib/utensils/capybara_extensions.rb
utensils-0.0.11 lib/utensils/capybara_extensions.rb
utensils-0.0.10 lib/utensils/capybara_extensions.rb
utensils-0.0.9 lib/utensils/capybara_extensions.rb