diff options
author | Stan Hu <stanhu@gmail.com> | 2018-01-13 00:10:55 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-01-13 00:50:23 -0800 |
commit | 69535c142303145c0c20b6dc6480e5a77ff3801d (patch) | |
tree | 6bc08790db1d7f1bb52241ff7f993d8d57a816e8 /spec/gitlab_net_spec.rb | |
parent | a478813e1e0c792733ef4a7639d8191bd20a0261 (diff) | |
download | gitlab-shell-sh-remove-reference-counter.tar.gz |
Remove remaining artifacts of reference countersh-remove-reference-counter
Closes gitlab-org/gitlab-qa#158
Diffstat (limited to 'spec/gitlab_net_spec.rb')
-rw-r--r-- | spec/gitlab_net_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/gitlab_net_spec.rb b/spec/gitlab_net_spec.rb index 8e06fa8..513f529 100644 --- a/spec/gitlab_net_spec.rb +++ b/spec/gitlab_net_spec.rb @@ -139,12 +139,6 @@ describe GitlabNet, vcr: true do VCR.use_cassette("pre-receive") { subject } end - it 'calls /internal/pre-receive' do - VCR.use_cassette("pre-receive") do - expect(subject['reference_counter_increased']).to be(true) - end - end - it 'throws a NotFound error when pre-receive is not available' do VCR.use_cassette("pre-receive-not-found") do expect { subject }.to raise_error(GitlabNet::NotFound) @@ -181,7 +175,6 @@ describe GitlabNet, vcr: true do VCR.use_cassette("post-receive") do expect(subject['merge_request_urls']).to eq(merge_request_urls) expect(subject['broadcast_message']).to eq('Message') - expect(subject['reference_counter_decreased']).to eq(true) end end |