Skip to content
Snippets Groups Projects
Commit d6330c8b authored by Stan Hu's avatar Stan Hu
Browse files

Fix scoping issues with Spinach tests (e.g....

Fix scoping issues with Spinach tests (e.g. https://gitlab.com/gitlab-org/gitlab-ce/builds/14929499)
parent 2728e3b9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment