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
Jérome Perrin
gitlab-ce
Commits
bc0d8112
Commit
bc0d8112
authored
Jul 21, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use `empty_project` where possible in spec/features/issuables
(It wasn't possible.)
parent
fcc4ba16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
spec/features/issuables/close_reopen_report_toggle_spec.rb
spec/features/issuables/close_reopen_report_toggle_spec.rb
+2
-2
spec/features/issuables/user_sees_sidebar_spec.rb
spec/features/issuables/user_sees_sidebar_spec.rb
+1
-1
No files found.
spec/features/issuables/close_reopen_report_toggle_spec.rb
View file @
bc0d8112
...
...
@@ -79,7 +79,7 @@ describe 'Issuables Close/Reopen/Report toggle' do
end
context
'on a merge request'
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:issuable
)
{
create
(
:merge_request
,
source_project:
project
)
}
before
do
...
...
@@ -96,7 +96,7 @@ describe 'Issuables Close/Reopen/Report toggle' do
end
context
'when user doesnt have permission to update'
do
let
(
:cant_project
)
{
create
(
:project
)
}
let
(
:cant_project
)
{
create
(
:project
,
:repository
)
}
let
(
:cant_issuable
)
{
create
(
:merge_request
,
source_project:
cant_project
)
}
before
do
...
...
spec/features/issuables/user_sees_sidebar_spec.rb
View file @
bc0d8112
...
...
@@ -3,7 +3,7 @@ require 'rails_helper'
describe
'Issue Sidebar on Mobile'
do
include
MobileHelpers
let
(
:project
)
{
create
(
:project
,
:public
)
}
let
(
:project
)
{
create
(
:project
,
:public
,
:repository
)
}
let
(
:merge_request
)
{
create
(
:merge_request
,
source_project:
project
)
}
let
(
:issue
)
{
create
(
:issue
,
project:
project
)
}
let!
(
:user
)
{
create
(
:user
)}
...
...
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