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
4ebe48cd
Commit
4ebe48cd
authored
Jan 10, 2020
by
Vitali Tatarintev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change set to let_it_be in ee/spec/graphql
Contributes to
https://gitlab.com/gitlab-org/gitlab/issues/27922
parent
f1ce70ab
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
ee/spec/graphql/resolvers/design_management/design_resolver_spec.rb
...aphql/resolvers/design_management/design_resolver_spec.rb
+5
-5
ee/spec/graphql/resolvers/design_management/version_resolver_spec.rb
...phql/resolvers/design_management/version_resolver_spec.rb
+4
-4
ee/spec/graphql/resolvers/epic_resolver_spec.rb
ee/spec/graphql/resolvers/epic_resolver_spec.rb
+2
-2
No files found.
ee/spec/graphql/resolvers/design_management/design_resolver_spec.rb
View file @
4ebe48cd
...
...
@@ -11,11 +11,11 @@ describe Resolvers::DesignManagement::DesignResolver do
end
describe
"#resolve"
do
set
(
:issue
)
{
create
(
:issue
)
}
set
(
:project
)
{
issue
.
project
}
set
(
:first_version
)
{
create
(
:design_version
)
}
set
(
:first_design
)
{
create
(
:design
,
issue:
issue
,
versions:
[
first_version
])
}
set
(
:current_user
)
{
create
(
:user
)
}
let_it_be
(
:issue
)
{
create
(
:issue
)
}
let_it_be
(
:project
)
{
issue
.
project
}
let_it_be
(
:first_version
)
{
create
(
:design_version
)
}
let_it_be
(
:first_design
)
{
create
(
:design
,
issue:
issue
,
versions:
[
first_version
])
}
let_it_be
(
:current_user
)
{
create
(
:user
)
}
before
do
project
.
add_developer
(
current_user
)
...
...
ee/spec/graphql/resolvers/design_management/version_resolver_spec.rb
View file @
4ebe48cd
...
...
@@ -11,10 +11,10 @@ describe Resolvers::DesignManagement::VersionResolver do
end
describe
"#resolve"
do
set
(
:issue
)
{
create
(
:issue
)
}
set
(
:project
)
{
issue
.
project
}
set
(
:first_version
)
{
create
(
:design_version
)
}
set
(
:first_design
)
{
create
(
:design
,
issue:
issue
,
versions:
[
first_version
])
}
let_it_be
(
:issue
)
{
create
(
:issue
)
}
let_it_be
(
:project
)
{
issue
.
project
}
let_it_be
(
:first_version
)
{
create
(
:design_version
)
}
let_it_be
(
:first_design
)
{
create
(
:design
,
issue:
issue
,
versions:
[
first_version
])
}
let
(
:current_user
)
{
create
(
:user
)
}
before
do
...
...
ee/spec/graphql/resolvers/epic_resolver_spec.rb
View file @
4ebe48cd
...
...
@@ -5,8 +5,8 @@ require 'spec_helper'
describe
Resolvers
::
EpicResolver
do
include
GraphqlHelpers
set
(
:current_user
)
{
create
(
:user
)
}
set
(
:user2
)
{
create
(
:user
)
}
let_it_be
(
:current_user
)
{
create
(
:user
)
}
let_it_be
(
:user2
)
{
create
(
:user
)
}
context
"with a group"
do
let
(
:group
)
{
create
(
:group
)
}
...
...
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