Fix working directory for exit code specs

This commit is contained in:
Jonas Nicklas 2012-07-13 13:28:33 +02:00
parent 7ef798bbca
commit 7d6d6a13f5
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ describe Capybara::Session do
describe "exit codes" do
before do
@current_dir = Dir.getwd
Dir.chdir(File.join(File.dirname(__FILE__), '..', '..'))
Dir.chdir(File.join(File.dirname(__FILE__), '..'))
end
after do