Fix X display handling in rspec test suite
* Hide any available X display from test suite context; * Ensure the manager never connect or block.
This commit is contained in:
@@ -10,4 +10,9 @@ RSpec.configure do |config|
|
||||
end
|
||||
|
||||
config.disable_monkey_patching!
|
||||
|
||||
config.before :all do
|
||||
# Ensure current X display is not available from rspec test suite.
|
||||
ENV.delete 'DISPLAY'
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user