Commit 71f4ec45 authored by James Lopez's avatar James Lopez

Fix spec failure

parent 39451c95
...@@ -20,8 +20,9 @@ describe Gitlab::FileDetector do ...@@ -20,8 +20,9 @@ describe Gitlab::FileDetector do
filenames.each do |filename| filenames.each do |filename|
expect(described_class.type_of(filename)).to eq(:readme) expect(described_class.type_of(filename)).to eq(:readme)
extensions.each do |extname| extensions.each do |extname|
expect(described_class.type_of(filename + extname)).to eq(:readme) expect(described_class.type_of("#{filename}.#{extname}")).to eq(:readme)
end end
end end
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