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
477a5625
Commit
477a5625
authored
May 23, 2019
by
Luke Duncalfe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor copy changes to VersionResolverSpec
parent
1f3bb6f0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/graphql/resolvers/design_management/version_resolver_spec.rb
...phql/resolvers/design_management/version_resolver_spec.rb
+2
-2
No files found.
ee/spec/graphql/resolvers/design_management/version_resolver_spec.rb
View file @
477a5625
...
@@ -35,7 +35,7 @@ describe Resolvers::DesignManagement::VersionResolver do
...
@@ -35,7 +35,7 @@ describe Resolvers::DesignManagement::VersionResolver do
end
end
end
end
context
"when the is anonymous"
do
context
"when the
user
is anonymous"
do
let
(
:current_user
)
{
nil
}
let
(
:current_user
)
{
nil
}
it
"returns nothing"
do
it
"returns nothing"
do
...
@@ -43,7 +43,7 @@ describe Resolvers::DesignManagement::VersionResolver do
...
@@ -43,7 +43,7 @@ describe Resolvers::DesignManagement::VersionResolver do
end
end
end
end
context
"when the
is
cannot see designs"
do
context
"when the
user
cannot see designs"
do
it
"returns nothing"
do
it
"returns nothing"
do
expect
(
resolve_versions
(
first_design
,
{},
current_user:
create
(
:user
))).
to
be_empty
expect
(
resolve_versions
(
first_design
,
{},
current_user:
create
(
:user
))).
to
be_empty
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