diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-22 12:08:47 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-22 12:08:47 +0000 |
commit | 6046a605fdbb6d180861c978d17fe3516b2e7507 (patch) | |
tree | 42cc483042b341475ba14d8fbfad6432a15327f4 /spec/support/helpers/snippet_helpers.rb | |
parent | 5956978e1d2aa2b5b35c2d79f67f6b9706b8ec4e (diff) | |
download | gitlab-ce-6046a605fdbb6d180861c978d17fe3516b2e7507.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/helpers/snippet_helpers.rb')
-rw-r--r-- | spec/support/helpers/snippet_helpers.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/support/helpers/snippet_helpers.rb b/spec/support/helpers/snippet_helpers.rb new file mode 100644 index 00000000000..ead18792efb --- /dev/null +++ b/spec/support/helpers/snippet_helpers.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +module SnippetHelpers + def sign_in_as(user) + sign_in(public_send(user)) if user + end +end |