summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-04-24 13:26:44 -0700
committerStan Hu <stanhu@gmail.com>2017-04-24 13:26:44 -0700
commitd6330c8b9c3517809c914a6f19a02f6961b92652 (patch)
tree39240625efa91f6063330e32a1280408c3fde48d /features
parent2728e3b99979daa6983d1254cd801ec122ecfecc (diff)
downloadgitlab-ce-d6330c8b9c3517809c914a6f19a02f6961b92652.tar.gz
Fix scoping issues with Spinach tests (e.g. https://gitlab.com/gitlab-org/gitlab-ce/builds/14929499)sh-fix-spinach-5-10-tests
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/source/markdown_render.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/source/markdown_render.rb b/features/steps/project/source/markdown_render.rb
index 115b67d98fb..0f0827f0477 100644
--- a/features/steps/project/source/markdown_render.rb
+++ b/features/steps/project/source/markdown_render.rb
@@ -7,7 +7,7 @@ class Spinach::Features::ProjectSourceMarkdownRender < Spinach::FeatureSteps
include SharedMarkdown
step 'I own project "Delta"' do
- @project = Project.find_by(name: "Delta")
+ @project = ::Project.find_by(name: "Delta")
@project ||= create(:project, :repository, name: "Delta", namespace: @user.namespace)
@project.team << [@user, :master]
end