spec/watirspec/elements/option_spec.rb in watir-6.14.0 vs spec/watirspec/elements/option_spec.rb in watir-6.15.0

- old
+ new

@@ -99,19 +99,9 @@ expect { browser.select_list(name: 'new_user_country').option(text: /missing/).select } .to raise_unknown_object_exception end end - describe '#class_name' do - it 'is able to get attributes (page context)' do - expect(browser.option(text: 'Sweden').class_name).to eq 'scandinavia' - end - - it 'is able to get attributes (select_list context)' do - expect(browser.select_list(name: 'new_user_country').option(text: 'Sweden').class_name).to eq 'scandinavia' - end - end - describe '#respond_to?' do it 'returns true for all attribute methods' do expect(browser.select_list(name: 'new_user_country').option(text: 'Sweden')).to respond_to(:class_name) expect(browser.select_list(name: 'new_user_country').option(text: 'Sweden')).to respond_to(:id) expect(browser.select_list(name: 'new_user_country').option(text: 'Sweden')).to respond_to(:text)