spec/input_spec.rb in watir-webdriver-0.5.0 vs spec/input_spec.rb in watir-webdriver-0.5.1
- old
+ new
@@ -1,10 +1,10 @@
require File.expand_path('watirspec/spec_helper', File.dirname(__FILE__))
describe Watir::Input do
before do
- browser.goto(WatirSpec.files + "/forms_with_input_elements.html")
+ browser.goto WatirSpec.url_for("forms_with_input_elements.html")
end
describe "#to_subtype" do
it "returns a CheckBox instance" do
e = browser.input(:xpath => "//input[@type='checkbox']").to_subtype