summaryrefslogtreecommitdiff
path: root/spec/support/helpers/stub_gitlab_data.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/stub_gitlab_data.rb')
-rw-r--r--spec/support/helpers/stub_gitlab_data.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/helpers/stub_gitlab_data.rb b/spec/support/helpers/stub_gitlab_data.rb
new file mode 100644
index 00000000000..fa402f35b95
--- /dev/null
+++ b/spec/support/helpers/stub_gitlab_data.rb
@@ -0,0 +1,5 @@
+module StubGitlabData
+ def gitlab_ci_yaml
+ File.read(Rails.root.join('spec/support/gitlab_stubs/gitlab_ci.yml'))
+ end
+end