This instance was upgraded to Heptapod 0.27.2 on 2021-12-08 at 22:00 UTC+1

Commit a49e5374 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

RSPec tests: fixed test about top-level routes

It was based on `git ls-files` in the `public` subdir

--HG--
branch : heptapod
parent 02c227784bd2
......@@ -110,8 +110,10 @@ def failure_message(constant_name, migration_helper, missing_words: [], addition
end
let(:files_in_public) do
git = Gitlab.config.git.bin_path
tracked = `cd #{Rails.root} && #{git} ls-files public`
hg = Gitlab.config.mercurial.bin_path
# If it becomes a problem not to have some extensions (evolve etc),
# we can do this hg call more properly with HGRCPATH etc.
tracked = `cd #{Rails.root} && #{hg} files public`
.split("\n")
.map { |entry| entry.start_with?('public/-/') ? '-' : entry.gsub('public/', '') }
.uniq
......
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