diff options
author | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-11-21 14:13:54 +0100 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2019-07-09 18:09:45 +0200 |
commit | 1de47ee373650f197c1e4c558946dd6d8149e7e5 (patch) | |
tree | 3abe7fdc7e4079f163754566a2faf7679133c1c4 /spec/features/projects | |
parent | 5f08830090fb6d56a14bd4aaca107b99e2b0975b (diff) | |
download | gitlab-ce-1de47ee373650f197c1e4c558946dd6d8149e7e5.tar.gz |
Use namespace#path for building urls in specs
Some of the specs were using namespace names instead of paths for
building URLS. This would fail since we now build a namespace with a
user's name instead of a user's username.
Diffstat (limited to 'spec/features/projects')
-rw-r--r-- | spec/features/projects/fork_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/fork_spec.rb b/spec/features/projects/fork_spec.rb index 7c71b4c52e0..26b94bf58b2 100644 --- a/spec/features/projects/fork_spec.rb +++ b/spec/features/projects/fork_spec.rb @@ -50,7 +50,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 |