Enable back the WritableDirectory spec

A few days ago I've created this PR[1] to to enable the writable directory
spec to pass on macos X. When the PQ got merged in the master branch the
test was disabled again[2].

[1] https://github.com/elastic/logstash/pull/6110
[2] 761f9f1bc9

Fixes #6218
This commit is contained in:
Pier-Hugues Pellerin 2016-11-08 09:39:11 -05:00
parent 80d21712c6
commit c8bf755f7b

View file

@ -79,9 +79,7 @@ describe LogStash::Setting::WritableDirectory do
it_behaves_like "failure"
end
# Skip this test due to a testing bug on OSX.
# `path` is rejected on OSX because it is too long (but passes on Linux)
xcontext "but is a socket" do
context "but is a socket" do
let(:socket) { UNIXServer.new(path) }
before { socket } # realize `socket` value
after { socket.close }