Sha256: c3f0b3a130eab1691c9b827dc05a605123940c87a76830d887dfba9ea7b4409a
Contents?: true
Size: 327 Bytes
Versions: 7
Compression:
Stored size: 327 Bytes
Contents
require 'spec_helper' describe Hexp::CssSelector::Element do it 'should match elements with the same name' do expect(described_class.new('tag').matches?(H[:tag])).to be true end it 'should not match elements with a different name' do expect(described_class.new('spane').matches?(H[:div])).to be false end end
Version data entries
7 entries across 7 versions & 1 rubygems