Sha256: 00b1d3522afb872c50fe815a8735c2e23b2ba704816c245d25e11c99a05bf37b
Contents?: true
Size: 460 Bytes
Versions: 25
Compression:
Stored size: 460 Bytes
Contents
# encoding: utf-8 require File.expand_path("../spec_helper", __FILE__) describe "Collections" do before :each do browser.goto(WatirSpec.files + "/collections.html") end it "returns inner elements of parent element having different html tag" do browser.span(:id => "a_span").divs.size.should == 2 end it "returns inner elements of parent element having same html tag" do browser.span(:id => "a_span").spans.size.should == 2 end end
Version data entries
25 entries across 25 versions & 1 rubygems