Commit 080aac05 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'sh-fix-spinach-5-10-tests' into 'master'

Fix scoping issues with Spinach tests

See merge request !10895
parents 2728e3b9 d6330c8b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment