summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2018-07-31 10:49:41 +1000
committerAsh McKenzie <amckenzie@gitlab.com>2018-08-01 00:24:17 +1000
commitbe5b38f5338a7a4fc48229990480b144a1499903 (patch)
tree07b2deb6501b018b4e31e903e5d4c689a1b24c58 /spec
parentac424489fc73ae06e4fd25e2135aebc30972df49 (diff)
downloadgitlab-shell-be5b38f5338a7a4fc48229990480b144a1499903.tar.gz
Rename NotFound -> NotFoundError
Diffstat (limited to 'spec')
-rw-r--r--spec/gitlab_net_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/gitlab_net_spec.rb b/spec/gitlab_net_spec.rb
index a2760aa..5a65c48 100644
--- a/spec/gitlab_net_spec.rb
+++ b/spec/gitlab_net_spec.rb
@@ -145,9 +145,9 @@ describe GitlabNet, vcr: true do
end
end
- it 'throws a NotFound error when pre-receive is not available' do
+ it 'throws a NotFoundError when pre-receive is not available' do
VCR.use_cassette("pre-receive-not-found") do
- expect do subject end.to raise_error(GitlabNet::NotFound)
+ expect do subject end.to raise_error(GitlabNet::NotFoundError)
end
end
end
@@ -185,9 +185,9 @@ describe GitlabNet, vcr: true do
end
end
- it 'throws a NotFound error when post-receive is not available' do
+ it 'throws a NotFoundError when post-receive is not available' do
VCR.use_cassette("post-receive-not-found") do
- expect do subject end.to raise_error(GitlabNet::NotFound)
+ expect do subject end.to raise_error(GitlabNet::NotFoundError)
end
end
end