spec/element_spec.rb in watir-6.0.0.beta3 vs spec/element_spec.rb in watir-6.0.0.beta4

- old
+ new

@@ -91,14 +91,10 @@ watir_element.send :assert_exists browser.refresh watir_element.send(:element_call) { watir_element.instance_variable_get('@element').text } end - if Watir.always_locate? - expect { watir_element.text }.to_not raise_error - else - expect { watir_element.text }.to raise_error Watir::Exception::UnknownObjectException - end + expect { watir_element.text }.to_not raise_error end end bug "Actions Endpoint Not Yet Implemented", :firefox do