diff options
author | Robert Speicher <rspeicher@gmail.com> | 2018-08-14 14:54:33 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2018-08-15 16:04:11 -0500 |
commit | cfec435a64ec7571a8333dc754afac0a41ebc6d8 (patch) | |
tree | 7fb17b508a94bcd73deb40318f70205b100d985c /spec/gitlab_post_receive_spec.rb | |
parent | c5c97dd39409290b02209d45b147babdcf1474b5 (diff) | |
download | gitlab-shell-cfec435a64ec7571a8333dc754afac0a41ebc6d8.tar.gz |
Autocorrect specs via `transpec -k its -v stub_with_hash`
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 |