Skip to content

Commit fe7135a

Browse files
committed
rb - fix spec guards to hashes
1 parent 6aad429 commit fe7135a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rb/spec/integration/selenium/webdriver/element_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,15 @@
6969
expect(driver.find_element(:id, "withText").attribute("rows")).to eq("5")
7070
end
7171

72-
not_compliant_on :edge do
72+
not_compliant_on :browser => :edge do
7373
it "should return nil for non-existent attributes" do
7474
driver.navigate.to url_for("formPage.html")
7575
expect(driver.find_element(:id, "withText").attribute("nonexistent")).to be_nil
7676
end
7777
end
7878

7979
# Per W3C spec this should return Invalid Argument not Unknown Error, but there is no comparable error code
80-
compliant_on :edge do
80+
compliant_on :browser => :edge do
8181
it "should return nil for non-existent attributes" do
8282
driver.navigate.to url_for("formPage.html")
8383
element = driver.find_element(:id, "withText")

0 commit comments

Comments
 (0)