summaryrefslogtreecommitdiff
path: root/spec/gitlab_shell_spec.rb
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2018-05-23 17:39:52 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2018-05-24 12:21:15 +0200
commit4ba4275632351518a4b65e432914a60747ce3e52 (patch)
tree80f88831eb64c8b4c4439d8759afb53c30df3929 /spec/gitlab_shell_spec.rb
parentaa10b70f2a37c45bc2551f2a0d34a835dc7189f9 (diff)
downloadgitlab-shell-4ba4275632351518a4b65e432914a60747ce3e52.tar.gz
Diffstat (limited to 'spec/gitlab_shell_spec.rb')
-rw-r--r--spec/gitlab_shell_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/gitlab_shell_spec.rb b/spec/gitlab_shell_spec.rb
index 0e8999b..eef0caf 100644
--- a/spec/gitlab_shell_spec.rb
+++ b/spec/gitlab_shell_spec.rb
@@ -31,7 +31,7 @@ describe GitlabShell do
let(:api) do
double(GitlabNet).tap do |api|
- api.stub(discover: { 'name' => 'John Doe' })
+ api.stub(discover: { 'name' => 'John Doe', 'username' => 'testuser' })
api.stub(check_access: GitAccessStatus.new(
true,
'ok',