Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Use global /tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas committed Apr 22, 2014
1 parent 95f80c2 commit b4e018e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion spec/config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
describe Gitolite::Config do

conf_dir = File.join(File.dirname(__FILE__), 'fixtures', 'configs')
output_dir = File.join(File.dirname(File.dirname(__FILE__)), 'tmp')
output_dir = '/tmp'
# output_dir = File.join(File.dirname(File.dirname(__FILE__)), 'tmp')

describe "#new" do
it 'should read a simple configuration' do
Expand Down
3 changes: 2 additions & 1 deletion spec/gitolite_admin_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

describe Gitolite::GitoliteAdmin do

output_dir = File.join(File.dirname(File.dirname(__FILE__)), 'tmp')
output_dir = '/tmp'
# output_dir = File.join(File.dirname(File.dirname(__FILE__)), 'tmp')

describe '#bootstrap' do
it 'should bootstrap a gitolite-admin repository' do
Expand Down
3 changes: 2 additions & 1 deletion spec/ssh_key_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
describe Gitolite::SSHKey do

key_dir = File.join(File.dirname(__FILE__), 'fixtures', 'keys')
output_dir = File.join(File.dirname(File.dirname(__FILE__)), 'tmp')
output_dir = '/tmp'
# output_dir = File.join(File.dirname(File.dirname(__FILE__)), 'tmp')

describe "#from_string" do
it 'should construct an SSH key from a string' do
Expand Down

0 comments on commit b4e018e

Please sign in to comment.