Sha256: 13c0586e5d9b674ffe99b71a8732ed53fb9dcc777043c2833fdafed0d13e2dec
Contents?: true
Size: 516 Bytes
Versions: 8
Compression:
Stored size: 516 Bytes
Contents
# encoding: utf-8 require File.expand_path("watirspec/spec_helper", File.dirname(__FILE__)) describe "Element" do before :each do browser.goto(WatirSpec.url_for("non_control_elements.html")) end describe "#style" do it "returns the style attribute if the property exists" do el = browser.div(:id, 'best_language') el.style("color").should == "red" el.style("text-decoration").should == "underline" el.style("cursor").should == "pointer" end end end
Version data entries
8 entries across 8 versions & 1 rubygems