We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12e34ec commit 03906edCopy full SHA for 03906ed
spec/lib/driver_spec.rb
@@ -7,7 +7,7 @@
7
described_class.new(nil)
8
end
9
10
- expect(driver.browser.options).to include(save_path: "/tmp/capybara-save-path")
+ expect(driver.browser.options.to_h).to include(save_path: "/tmp/capybara-save-path")
11
12
13
it "allows a custom path to be specified" do
@@ -17,7 +17,7 @@
17
described_class.new(nil, { save_path: custom_path })
18
19
20
- expect(driver.browser.options).to include(save_path: custom_path)
+ expect(driver.browser.options.to_h).to include(save_path: custom_path)
21
22
23
0 commit comments