Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed Sep 13, 2023
1 parent 0399f6c commit 86b4b3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/browser/xvfb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
expect(process.xvfb.screen_size).to eq("1024x768x24")
ensure
xvfb_browser&.quit
expect(process_alive?(process.xvfb.pid)).to be(false)
pid = process&.xvfb&.pid
expect(process_alive?(pid)).to be(false) if pid
end
end

Expand Down

0 comments on commit 86b4b3c

Please sign in to comment.