diff options
author | Stan Hu <stanhu@gmail.com> | 2017-04-24 13:26:44 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2017-04-24 13:26:44 -0700 |
commit | d6330c8b9c3517809c914a6f19a02f6961b92652 (patch) | |
tree | 39240625efa91f6063330e32a1280408c3fde48d /features | |
parent | 2728e3b99979daa6983d1254cd801ec122ecfecc (diff) | |
download | gitlab-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.rb | 2 |
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 |