diff options
author | Nick Thomas <nick@gitlab.com> | 2018-08-16 12:58:50 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2018-08-16 12:58:50 +0000 |
commit | fb8606f65a60808e52539f71f09fba871b5aba6b (patch) | |
tree | fffd9f99b45b063e318c0e954116c98647737ef9 /spec/gitlab_post_receive_spec.rb | |
parent | 122d84a403d3534dea743d94aa23d4115cc804a8 (diff) | |
parent | 710f75186009cb85c996d0de723ec3524299ecd8 (diff) | |
download | gitlab-shell-fb8606f65a60808e52539f71f09fba871b5aba6b.tar.gz |
Merge branch 'rs-rspec' into 'master'
Update to RSpec 3
Closes #54
See merge request gitlab-org/gitlab-shell!229
Diffstat (limited to 'spec/gitlab_post_receive_spec.rb')
-rw-r--r-- | spec/gitlab_post_receive_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab_post_receive_spec.rb b/spec/gitlab_post_receive_spec.rb index 46e6158..7dd1828 100644 --- a/spec/gitlab_post_receive_spec.rb +++ b/spec/gitlab_post_receive_spec.rb @@ -31,7 +31,7 @@ describe GitlabPostReceive do before do $logger = double('logger').as_null_object # Global vars are bad - GitlabConfig.any_instance.stub(repos_path: repository_path) + allow_any_instance_of(GitlabConfig).to receive(:repos_path).and_return(repository_path) end describe "#exec" do |