BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
fcc4ba16
Commit
fcc4ba16
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/atom
parent
f7c5c686
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
dashboard_issues_spec.rb
spec/features/atom/dashboard_issues_spec.rb
+2
-2
dashboard_spec.rb
spec/features/atom/dashboard_spec.rb
+1
-1
issues_spec.rb
spec/features/atom/issues_spec.rb
+1
-1
users_spec.rb
spec/features/atom/users_spec.rb
+1
-1
No files found.
spec/features/atom/dashboard_issues_spec.rb
View file @
fcc4ba16
...
...
@@ -4,8 +4,8 @@ describe "Dashboard Issues Feed" do
describe
"GET /issues"
do
let!
(
:user
)
{
create
(
:user
,
email:
'private1@example.com'
,
public_email:
'public1@example.com'
)
}
let!
(
:assignee
)
{
create
(
:user
,
email:
'private2@example.com'
,
public_email:
'public2@example.com'
)
}
let!
(
:project1
)
{
create
(
:project
)
}
let!
(
:project2
)
{
create
(
:project
)
}
let!
(
:project1
)
{
create
(
:
empty_
project
)
}
let!
(
:project2
)
{
create
(
:
empty_
project
)
}
before
do
project1
.
team
<<
[
user
,
:master
]
...
...
spec/features/atom/dashboard_spec.rb
View file @
fcc4ba16
...
...
@@ -19,7 +19,7 @@ describe "Dashboard Feed" do
end
context
'feed content'
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:project
)
{
create
(
:
empty_
project
)
}
let
(
:issue
)
{
create
(
:issue
,
project:
project
,
author:
user
,
description:
''
)
}
let
(
:note
)
{
create
(
:note
,
noteable:
issue
,
author:
user
,
note:
'Bug confirmed'
,
project:
project
)
}
...
...
spec/features/atom/issues_spec.rb
View file @
fcc4ba16
...
...
@@ -5,7 +5,7 @@ describe 'Issues Feed' do
let!
(
:user
)
{
create
(
:user
,
email:
'private1@example.com'
,
public_email:
'public1@example.com'
)
}
let!
(
:assignee
)
{
create
(
:user
,
email:
'private2@example.com'
,
public_email:
'public2@example.com'
)
}
let!
(
:group
)
{
create
(
:group
)
}
let!
(
:project
)
{
create
(
:project
)
}
let!
(
:project
)
{
create
(
:
empty_
project
)
}
let!
(
:issue
)
{
create
(
:issue
,
author:
user
,
assignees:
[
assignee
],
project:
project
)
}
before
do
...
...
spec/features/atom/users_spec.rb
View file @
fcc4ba16
...
...
@@ -19,7 +19,7 @@ describe "User Feed" do
end
context
'feed content'
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:issue
)
do
create
(
:issue
,
project:
project
,
...
...
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