diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-06 12:41:38 +0200 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-06 13:10:10 +0200 |
commit | e8403e8bb7c5c9109af83a183943d5361ad1409b (patch) | |
tree | 0fe3e73b6695816c3ce0a8f01f9fb8cac29a1a9f /spec/gitlab_post_receive_spec.rb | |
parent | f64e5d4a075479846f2e18bb34b84eb26d180f57 (diff) | |
download | gitlab-shell-e8403e8bb7c5c9109af83a183943d5361ad1409b.tar.gz |
Move setting/unsetting of GL_ID from lib to executables.
Diffstat (limited to 'spec/gitlab_post_receive_spec.rb')
-rw-r--r-- | spec/gitlab_post_receive_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/gitlab_post_receive_spec.rb b/spec/gitlab_post_receive_spec.rb index 5a9892a..3c1f362 100644 --- a/spec/gitlab_post_receive_spec.rb +++ b/spec/gitlab_post_receive_spec.rb @@ -24,14 +24,6 @@ describe GitlabPostReceive do allow(gitlab_post_receive).to receive(:system).and_return(true) end - it "resets the GL_ID environment variable" do - ENV["GL_ID"] = actor - - gitlab_post_receive.exec - - expect(ENV["GL_ID"]).to be_nil - end - it "prints the broadcast message" do expect(gitlab_post_receive).to receive(:puts).ordered expect(gitlab_post_receive).to receive(:puts).with( |