diff options
Diffstat (limited to 'spec/features/projects/show/user_sees_git_instructions_spec.rb')
-rw-r--r-- | spec/features/projects/show/user_sees_git_instructions_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/show/user_sees_git_instructions_spec.rb b/spec/features/projects/show/user_sees_git_instructions_spec.rb index e6157887c12..5270939f681 100644 --- a/spec/features/projects/show/user_sees_git_instructions_spec.rb +++ b/spec/features/projects/show/user_sees_git_instructions_spec.rb @@ -61,7 +61,7 @@ RSpec.describe 'Projects > Show > User sees Git instructions' do let_it_be(:project) { create(:project, :public) } before do - sign_in(project.owner) + sign_in(project.first_owner) visit project_path(project) end @@ -77,7 +77,7 @@ RSpec.describe 'Projects > Show > User sees Git instructions' do .at_least(:once) .and_return('example_branch') - sign_in(project.owner) + sign_in(project.first_owner) visit project_path(project) end |