Skip to content

Commit

Permalink
Fixed test_environment_default_to_currentdir failing when VEEWEE_DIR …
Browse files Browse the repository at this point in the history
…is set.
  • Loading branch information
r10r committed Mar 6, 2013
1 parent 4fdbcbb commit 7198a43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/environment_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

class TestVeeweeEnvironment < Test::Unit::TestCase
def test_environment_default_to_currentdir

# unset the VEEWEE_DIR environment which overwrites cwd
ENV['VEEWEE_DIR'] = nil
tempdir = Dir.mktmpdir
Dir.chdir(tempdir)
tempdir=Dir.pwd
Expand Down

0 comments on commit 7198a43

Please sign in to comment.