runit creates a full path to export directory.

This commit is contained in:
Fletcher Nichol
2012-01-18 20:13:08 -07:00
parent 1485eeb859
commit e76f3533dc
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -33,4 +33,8 @@ describe Foreman::Export::Runit do
example_export_file('runit/app-bravo-1-log-run')
File.read("/tmp/init/app-bravo-1/env/PORT").should == "5100\n"
end
end
it "creates a full path to the export directory" do
expect { runit.export('/tmp/init', :concurrency => "alpha=2,bravo=1") }.to_not raise_error(Errno::ENOENT)
end
end