Commit d8600696 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'spec_popen_fix_1.9.3' into 'master'

Fix spec failure in Ruby 1.9.3
parents 2f5c5f61 7e79354d
......@@ -332,6 +332,6 @@ describe GitlabProjects do
end
def capture_in_tmp_repo(cmd)
IO.popen(cmd, chdir: tmp_repo_path).read.strip
IO.popen([*cmd, {chdir: tmp_repo_path}]).read.strip
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment