Don't create EE-specific files when creating Emojis fixture files

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2019-03-12 08:02:45 +01:00
parent f859b0e1e7
commit 66dffba45d
No known key found for this signature in database
GPG Key ID: 98DFFD1C0C62B70B
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ describe 'Emojis (JavaScript fixtures)' do
it 'emojis/emojis.json' do |example|
JavaScriptFixturesHelpers::FIXTURE_PATHS.each do |fixture_path|
next unless File.directory?(fixture_path)
# Copying the emojis.json from the public folder
fixture_file_name = File.expand_path('emojis/emojis.json', fixture_path)
FileUtils.mkdir_p(File.dirname(fixture_file_name))