spec/watirspec/element_hidden_spec.rb in watir-6.15.0 vs spec/watirspec/element_hidden_spec.rb in watir-6.15.1

- old
+ new

@@ -70,10 +70,10 @@ end end it 'raises exception when value is not Boolean' do element = browser.body.element(visible: 'true') - msg = 'expected boolean, got "true":String' + msg = 'expected one of [TrueClass, FalseClass], got "true":String' expect { element.exists? }.to raise_exception(TypeError, msg) end end end