diff options
| author | Jacob Vosmaer <jacob@gitlab.com> | 2016-08-10 10:25:16 +0200 |
|---|---|---|
| committer | Jacob Vosmaer <jacob@gitlab.com> | 2016-08-10 10:25:16 +0200 |
| commit | ad17617db6508207168370610063089faf85c452 (patch) | |
| tree | 117de9927b3873dd6c17d13446f91d51155b616a /spec | |
| parent | ae21774c1f6a09ea5029194c66d229aeba1d22d6 (diff) | |
| download | gitlab-shell-ad17617db6508207168370610063089faf85c452.tar.gz | |
Changes proposed during review
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/gitlab_keys_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/gitlab_keys_spec.rb b/spec/gitlab_keys_spec.rb index a615eac..faf7c5d 100644 --- a/spec/gitlab_keys_spec.rb +++ b/spec/gitlab_keys_spec.rb @@ -14,7 +14,7 @@ describe GitlabKeys do end it 'raises KeyError on invalid input' do - expect { described_class.command("\nssh-rsa AAA") }.to raise_error(GitlabKeys::KeyError) + expect { described_class.command("\nssh-rsa AAA") }.to raise_error(described_class::KeyError) end end @@ -29,7 +29,7 @@ describe GitlabKeys do end it 'raises KeyError on invalid input' do - expect { described_class.key_line('key-741', "ssh-rsa AAA\nssh-rsa AAA") }.to raise_error(GitlabKeys::KeyError) + expect { described_class.key_line('key-741', "ssh-rsa AAA\nssh-rsa AAA") }.to raise_error(described_class::KeyError) end end |
