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
a598bd91
Commit
a598bd91
authored
Sep 15, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor ci_admin_event and fix features/ci/events_spec.rb
parent
6d0980b0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
events.rb
spec/factories/ci/events.rb
+1
-1
events_spec.rb
spec/features/ci/admin/events_spec.rb
+1
-1
events_spec.rb
spec/features/ci/events_spec.rb
+2
-2
No files found.
spec/factories/ci/events.rb
View file @
a598bd91
...
...
@@ -17,7 +17,7 @@ FactoryGirl.define do
"updated project settings
#{
n
}
"
end
factory
:admin_event
do
factory
:
ci_
admin_event
do
is_admin
true
end
end
...
...
spec/features/ci/admin/events_spec.rb
View file @
a598bd91
require
'spec_helper'
describe
"Admin Events"
do
let
(
:event
)
{
FactoryGirl
.
create
:admin_event
}
let
(
:event
)
{
FactoryGirl
.
create
:
ci_
admin_event
}
before
do
skip_ci_admin_auth
...
...
spec/features/ci/events_spec.rb
View file @
a598bd91
...
...
@@ -2,13 +2,13 @@ require 'spec_helper'
describe
"Events"
do
let
(
:project
)
{
FactoryGirl
.
create
:ci_project
}
let
(
:event
)
{
FactoryGirl
.
create
:admin_event
,
project:
project
}
let
(
:event
)
{
FactoryGirl
.
create
:
ci_
admin_event
,
project:
project
}
before
do
login_as
:user
end
describe
"GET /project/:id/events"
do
describe
"GET /
ci/
project/:id/events"
do
before
do
event
visit
ci_project_events_path
(
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