diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-15 07:23:45 +0000 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-15 07:23:45 +0000 |
| commit | d8600696dc14fed6aae2614ac886cac8e12b743e (patch) | |
| tree | 268598423ff61e4048b8800802ddf0708487fb7a | |
| parent | 2f5c5f61533cee28f5ff7693b90a65f4bf5eaf61 (diff) | |
| parent | 7e79354d42518d5e0f6978c24b9c32d55cb22940 (diff) | |
| download | gitlab-shell-d8600696dc14fed6aae2614ac886cac8e12b743e.tar.gz | |
Merge branch 'spec_popen_fix_1.9.3' into 'master'
Fix spec failure in Ruby 1.9.3
| -rw-r--r-- | spec/gitlab_projects_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab_projects_spec.rb b/spec/gitlab_projects_spec.rb index 946e5c6..64cb63e 100644 --- a/spec/gitlab_projects_spec.rb +++ b/spec/gitlab_projects_spec.rb @@ -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 |
