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
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
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
spec/features/atom/dashboard_issues_spec.rb
spec/features/atom/dashboard_issues_spec.rb
+2
-2
spec/features/atom/dashboard_spec.rb
spec/features/atom/dashboard_spec.rb
+1
-1
spec/features/atom/issues_spec.rb
spec/features/atom/issues_spec.rb
+1
-1
spec/features/atom/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
...
@@ -4,8 +4,8 @@ describe "Dashboard Issues Feed" do
describe
"GET /issues"
do
describe
"GET /issues"
do
let!
(
:user
)
{
create
(
:user
,
email:
'private1@example.com'
,
public_email:
'public1@example.com'
)
}
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!
(
:assignee
)
{
create
(
:user
,
email:
'private2@example.com'
,
public_email:
'public2@example.com'
)
}
let!
(
:project1
)
{
create
(
:project
)
}
let!
(
:project1
)
{
create
(
:
empty_
project
)
}
let!
(
:project2
)
{
create
(
:project
)
}
let!
(
:project2
)
{
create
(
:
empty_
project
)
}
before
do
before
do
project1
.
team
<<
[
user
,
:master
]
project1
.
team
<<
[
user
,
:master
]
...
...
spec/features/atom/dashboard_spec.rb
View file @
fcc4ba16
...
@@ -19,7 +19,7 @@ describe "Dashboard Feed" do
...
@@ -19,7 +19,7 @@ describe "Dashboard Feed" do
end
end
context
'feed content'
do
context
'feed content'
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:project
)
{
create
(
:
empty_
project
)
}
let
(
:issue
)
{
create
(
:issue
,
project:
project
,
author:
user
,
description:
''
)
}
let
(
:issue
)
{
create
(
:issue
,
project:
project
,
author:
user
,
description:
''
)
}
let
(
:note
)
{
create
(
:note
,
noteable:
issue
,
author:
user
,
note:
'Bug confirmed'
,
project:
project
)
}
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
...
@@ -5,7 +5,7 @@ describe 'Issues Feed' do
let!
(
:user
)
{
create
(
:user
,
email:
'private1@example.com'
,
public_email:
'public1@example.com'
)
}
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!
(
:assignee
)
{
create
(
:user
,
email:
'private2@example.com'
,
public_email:
'public2@example.com'
)
}
let!
(
:group
)
{
create
(
:group
)
}
let!
(
:group
)
{
create
(
:group
)
}
let!
(
:project
)
{
create
(
:project
)
}
let!
(
:project
)
{
create
(
:
empty_
project
)
}
let!
(
:issue
)
{
create
(
:issue
,
author:
user
,
assignees:
[
assignee
],
project:
project
)
}
let!
(
:issue
)
{
create
(
:issue
,
author:
user
,
assignees:
[
assignee
],
project:
project
)
}
before
do
before
do
...
...
spec/features/atom/users_spec.rb
View file @
fcc4ba16
...
@@ -19,7 +19,7 @@ describe "User Feed" do
...
@@ -19,7 +19,7 @@ describe "User Feed" do
end
end
context
'feed content'
do
context
'feed content'
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:project
)
{
create
(
:project
,
:repository
)
}
let
(
:issue
)
do
let
(
:issue
)
do
create
(
:issue
,
create
(
:issue
,
project:
project
,
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