summaryrefslogtreecommitdiff
path: root/spec/features/projects/fork_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/fork_spec.rb')
-rw-r--r--spec/features/projects/fork_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/features/projects/fork_spec.rb b/spec/features/projects/fork_spec.rb
index 7c71b4c52e0..2aed402652b 100644
--- a/spec/features/projects/fork_spec.rb
+++ b/spec/features/projects/fork_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'spec_helper'
describe 'Project fork' do
@@ -50,7 +52,7 @@ describe 'Project fork' do
click_link('New merge request')
end
- expect(current_path).to have_content(/#{user.namespace.name}/i)
+ expect(current_path).to have_content(/#{user.namespace.path}/i)
end
it 'shows avatars when Gravatar is disabled' do