Commit 5f35901a authored by Douwe Maan's avatar Douwe Maan

Merge branch 'mk-fix-master-wiki-web-url-spec' into 'master'

Fix project wiki web_url spec

See merge request !13105
parents 549d2cc8 c4854426
......@@ -21,7 +21,7 @@ describe ProjectWiki, models: true do
describe '#web_url' do
it 'returns the full web URL to the wiki' do
expect(subject.web_url).to eq("#{Gitlab.config.gitlab.url}/#{project.path_with_namespace}/wikis/home")
expect(subject.web_url).to match("https?://[^\/]+/#{project.path_with_namespace}/wikis/home")
end
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