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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
95c8b31d
Commit
95c8b31d
authored
Sep 11, 2019
by
Luke Duncalfe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Convert single quotes to double quotes
parent
ce0ba3eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ee/spec/requests/api/graphql/mutations/design_management/upload_spec.rb
...ts/api/graphql/mutations/design_management/upload_spec.rb
+4
-4
No files found.
ee/spec/requests/api/graphql/mutations/design_management/upload_spec.rb
View file @
95c8b31d
...
@@ -9,7 +9,7 @@ describe "uploading designs" do
...
@@ -9,7 +9,7 @@ describe "uploading designs" do
let
(
:current_user
)
{
create
(
:user
)
}
let
(
:current_user
)
{
create
(
:user
)
}
let
(
:issue
)
{
create
(
:issue
)
}
let
(
:issue
)
{
create
(
:issue
)
}
let
(
:project
)
{
issue
.
project
}
let
(
:project
)
{
issue
.
project
}
let
(
:files
)
{
[
fixture_file_upload
(
'spec/fixtures/dk.png'
)]
}
let
(
:files
)
{
[
fixture_file_upload
(
"spec/fixtures/dk.png"
)]
}
let
(
:variables
)
{
{}
}
let
(
:variables
)
{
{}
}
let
(
:mutation
)
do
let
(
:mutation
)
do
...
@@ -35,7 +35,7 @@ describe "uploading designs" do
...
@@ -35,7 +35,7 @@ describe "uploading designs" do
expect
(
graphql_errors
).
to
be_present
expect
(
graphql_errors
).
to
be_present
end
end
it
'succeeds (backward compatibility)'
do
it
"succeeds (backward compatibility)"
do
post_graphql_mutation
(
mutation
,
current_user:
current_user
)
post_graphql_mutation
(
mutation
,
current_user:
current_user
)
expect
(
graphql_errors
).
not_to
be_present
expect
(
graphql_errors
).
not_to
be_present
...
@@ -57,8 +57,8 @@ describe "uploading designs" do
...
@@ -57,8 +57,8 @@ describe "uploading designs" do
post_graphql_mutation
(
mutation
,
current_user:
current_user
)
post_graphql_mutation
(
mutation
,
current_user:
current_user
)
expect
(
mutation_response
).
to
include
(
expect
(
mutation_response
).
to
include
(
'designs'
=>
a_collection_containing_exactly
(
"designs"
=>
a_collection_containing_exactly
(
a_hash_including
(
'filename'
=>
'dk.png'
)
a_hash_including
(
"filename"
=>
"dk.png"
)
)
)
)
)
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