spec/watirspec/option_spec.rb in watir-webdriver-0.0.2 vs spec/watirspec/option_spec.rb in watir-webdriver-0.0.3

- old
+ new

@@ -89,15 +89,17 @@ end describe "#select" do bug "WTR-367", :watir do it "selects the chosen option (page context)" do + browser.select_list(:name, "new_user_country").clear browser.option(:text, "Denmark").select browser.select_list(:name, "new_user_country").selected_options.should == ["Denmark"] end end it "selects the chosen option (select_list context)" do + browser.select_list(:name, "new_user_country").clear browser.select_list(:name, "new_user_country").option(:text, "Denmark").select browser.select_list(:name, "new_user_country").selected_options.should == ["Denmark"] end bug "WTR-367, WTR-329", :watir do