From 6046a605fdbb6d180861c978d17fe3516b2e7507 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Mon, 22 Jun 2020 12:08:47 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/support/helpers/snippet_helpers.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 spec/support/helpers/snippet_helpers.rb (limited to 'spec/support/helpers/snippet_helpers.rb') 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 -- cgit v1.2.1