spec/unit/container_spec.rb in watir-6.16.5 vs spec/unit/container_spec.rb in watir-6.17.0
- old
+ new
@@ -15,10 +15,10 @@
expect(@container.public_extract_selector([:how, 'what'])).to eq Hash[how: 'what']
}.to have_deprecated_selector_parameters
end
it 'returns the hash given' do
- expect(@container.public_extract_selector([how: 'what'])).to eq Hash[how: 'what']
+ expect(@container.public_extract_selector([{how: 'what'}])).to eq Hash[how: 'what']
end
it 'returns an empty hash if given no args' do
expect(@container.public_extract_selector([])).to eq Hash[]
end