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
Léo-Paul Géneau
gitlab-ce
Commits
83adf648
Commit
83adf648
authored
Jan 31, 2019
by
Gabriel Mazetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rubocop violations
parent
f38f646c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
spec/features/markdown/math_spec.rb
spec/features/markdown/math_spec.rb
+1
-1
spec/lib/safe_zip/extract_spec.rb
spec/lib/safe_zip/extract_spec.rb
+1
-1
spec/services/members/destroy_service_spec.rb
spec/services/members/destroy_service_spec.rb
+1
-1
No files found.
spec/features/markdown/math_spec.rb
View file @
83adf648
require
'spec_helper'
require
'spec_helper'
describe
'Math rendering'
,
:js
do
describe
'Math rendering'
,
:js
do
let!
(
:project
)
{
create
(
:project
,
:public
)
}
let!
(
:project
)
{
create
(
:project
,
:public
)
}
it
'renders inline and display math correctly'
do
it
'renders inline and display math correctly'
do
description
=
<<~
MATH
description
=
<<~
MATH
...
...
spec/lib/safe_zip/extract_spec.rb
View file @
83adf648
...
@@ -36,7 +36,7 @@ describe SafeZip::Extract do
...
@@ -36,7 +36,7 @@ describe SafeZip::Extract do
end
end
end
end
%w(valid-simple.zip valid-symlinks-first.zip valid-non-writeable.zip)
.
each
do
|
name
|
%w(valid-simple.zip valid-symlinks-first.zip valid-non-writeable.zip)
.
each
do
|
name
|
context
"when using
#{
name
}
archive"
do
context
"when using
#{
name
}
archive"
do
let
(
:archive_name
)
{
name
}
let
(
:archive_name
)
{
name
}
...
...
spec/services/members/destroy_service_spec.rb
View file @
83adf648
...
@@ -168,7 +168,7 @@ describe Members::DestroyService do
...
@@ -168,7 +168,7 @@ describe Members::DestroyService do
end
end
it_behaves_like
'a service destroying a member'
do
it_behaves_like
'a service destroying a member'
do
let
(
:opts
)
{
{
skip_authorization:
true
,
skip_subresources:
true
}
}
let
(
:opts
)
{
{
skip_authorization:
true
,
skip_subresources:
true
}
}
let
(
:member
)
{
group
.
requesters
.
find_by
(
user_id:
member_user
.
id
)
}
let
(
:member
)
{
group
.
requesters
.
find_by
(
user_id:
member_user
.
id
)
}
end
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