Commit 38d23adc authored by Luke Bennett's avatar Luke Bennett

Merge branch '10266-job-failed-173481892' into 'master'

Resolve "Job Failed #173481892"

Closes #10266

See merge request gitlab-org/gitlab-ee!9916
parents 9dedf055 6e3af76c
...@@ -8,9 +8,11 @@ describe 'Emojis (JavaScript fixtures)' do ...@@ -8,9 +8,11 @@ describe 'Emojis (JavaScript fixtures)' do
end end
it 'emojis/emojis.json' do |example| it 'emojis/emojis.json' do |example|
JavaScriptFixturesHelpers::FIXTURE_PATHS.each do |fixture_path|
# Copying the emojis.json from the public folder # Copying the emojis.json from the public folder
fixture_file_name = File.expand_path('emojis/emojis.json', JavaScriptFixturesHelpers::FIXTURE_PATH) fixture_file_name = File.expand_path('emojis/emojis.json', fixture_path)
FileUtils.mkdir_p(File.dirname(fixture_file_name)) FileUtils.mkdir_p(File.dirname(fixture_file_name))
FileUtils.cp(Rails.root.join('public/-/emojis/1/emojis.json'), fixture_file_name) FileUtils.cp(Rails.root.join('public/-/emojis/1/emojis.json'), fixture_file_name)
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