Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
42df6c85
Commit
42df6c85
authored
Mar 07, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for mismatch in EE on FIXTURE_PATHS to FIXTURE_PATH
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
b63efb09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
spec/javascripts/fixtures/emojis.rb
spec/javascripts/fixtures/emojis.rb
+6
-4
No files found.
spec/javascripts/fixtures/emojis.rb
View file @
42df6c85
...
...
@@ -8,9 +8,11 @@ describe 'Emojis (JavaScript fixtures)' do
end
it
'emojis/emojis.json'
do
|
example
|
JavaScriptFixturesHelpers
::
FIXTURE_PATHS
.
each
do
|
fixture_path
|
# 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
.
cp
(
Rails
.
root
.
join
(
'public/-/emojis/1/emojis.json'
),
fixture_file_name
)
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment