Sha256: fc7d867d25e48c6984a83f9ef8c2b68594aad71a1e2d0f76bd9fda1d49e81034
Contents?: true
Size: 409 Bytes
Versions: 3
Compression:
Stored size: 409 Bytes
Contents
describe "Element.body" do it "should return the body element of the document" do (`#{Browser::Element.body}.__element__ === document.body ? #{true} : #{false}`).should == true end it "should return the same Element instance on multiple calls" do Browser::Element.body.object_id.should == Browser::Element.body.object_id Browser::Element.body.should == Browser::Element.body end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
opal-0.2.2 | opals/opal/browser/spec/element/body_spec.rb |
opal-0.2.0 | opals/opal/browser/spec/element/body_spec.rb |
opal-0.1.0 | opals/browser/spec/element/body_spec.rb |