Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorReuben Pereira <rpereira@gitlab.com>2019-02-21 14:19:51 +0300
committerKamil TrzciƄski <ayufan@ayufan.eu>2019-02-21 14:19:51 +0300
commit536463295c2598505135bc61570ea66e1bad6496 (patch)
tree4bb61e295d682140d3c0cf8d9c3923e49e9e8e2b /spec/lib
parent56b82db63a91695a1dec1b7cbf39636bb01ad3df (diff)
Catch exception in calculate reactive cache
Return the exception as an error.
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/sentry/client_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/sentry/client_spec.rb b/spec/lib/sentry/client_spec.rb
index 6fbf60a6222..88e7e2e5ebb 100644
--- a/spec/lib/sentry/client_spec.rb
+++ b/spec/lib/sentry/client_spec.rb
@@ -36,7 +36,7 @@ describe Sentry::Client do
end
it 'does not follow redirects' do
- expect { subject }.to raise_exception(Sentry::Client::Error, 'Sentry response error: 302')
+ expect { subject }.to raise_exception(Sentry::Client::Error, 'Sentry response status code: 302')
expect(redirect_req_stub).to have_been_requested
expect(redirected_req_stub).not_to have_been_requested
end