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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d9a6ba78
Commit
d9a6ba78
authored
Feb 28, 2019
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update event filter spec
parent
0b9fbb1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
spec/lib/event_filter_spec.rb
spec/lib/event_filter_spec.rb
+2
-5
No files found.
spec/lib/event_filter_spec.rb
View file @
d9a6ba78
...
@@ -26,10 +26,7 @@ describe EventFilter do
...
@@ -26,10 +26,7 @@ describe EventFilter do
set
(
:push_event
)
{
create
(
:push_event
,
project:
public_project
)
}
set
(
:push_event
)
{
create
(
:push_event
,
project:
public_project
)
}
set
(
:merged_event
)
{
create
(
:event
,
:merged
,
project:
public_project
,
target:
public_project
)
}
set
(
:merged_event
)
{
create
(
:event
,
:merged
,
project:
public_project
,
target:
public_project
)
}
set
(
:created_event
)
{
create
(
:event
,
:created
,
project:
public_project
,
target:
public_project
)
}
set
(
:issue_event
)
{
create
(
:event
,
:created
,
project:
public_project
,
target:
create
(
:issue
,
project:
public_project
))
}
set
(
:updated_event
)
{
create
(
:event
,
:updated
,
project:
public_project
,
target:
public_project
)
}
set
(
:closed_event
)
{
create
(
:event
,
:closed
,
project:
public_project
,
target:
public_project
)
}
set
(
:reopened_event
)
{
create
(
:event
,
:reopened
,
project:
public_project
,
target:
public_project
)
}
set
(
:comments_event
)
{
create
(
:event
,
:commented
,
project:
public_project
,
target:
public_project
)
}
set
(
:comments_event
)
{
create
(
:event
,
:commented
,
project:
public_project
,
target:
public_project
)
}
set
(
:joined_event
)
{
create
(
:event
,
:joined
,
project:
public_project
,
target:
public_project
)
}
set
(
:joined_event
)
{
create
(
:event
,
:joined
,
project:
public_project
,
target:
public_project
)
}
set
(
:left_event
)
{
create
(
:event
,
:left
,
project:
public_project
,
target:
public_project
)
}
set
(
:left_event
)
{
create
(
:event
,
:left
,
project:
public_project
,
target:
public_project
)
}
...
@@ -56,7 +53,7 @@ describe EventFilter do
...
@@ -56,7 +53,7 @@ describe EventFilter do
let
(
:filter
)
{
described_class
::
ISSUE
}
let
(
:filter
)
{
described_class
::
ISSUE
}
it
'filters issue events only'
do
it
'filters issue events only'
do
expect
(
filtered_events
).
to
contain_exactly
(
created_event
,
updated_event
,
closed_event
,
reopened
_event
)
expect
(
filtered_events
).
to
contain_exactly
(
issue
_event
)
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