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
Léo-Paul Géneau
gitlab-ce
Commits
7f368753
Commit
7f368753
authored
Apr 07, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed mr filter tests
parent
9fddd5b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
features/steps/dashboard/dashboard_event_filters.rb
features/steps/dashboard/dashboard_event_filters.rb
+5
-5
No files found.
features/steps/dashboard/dashboard_event_filters.rb
View file @
7f368753
class
EventFilters
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedPaths
include
SharedPaths
include
SharedProject
Then
'I should see push event'
do
page
.
should
have_selector
(
'span.pushed'
)
end
Then
'I should not see push event'
do
page
.
should_not
have_selector
(
'span.pushed'
)
end
...
...
@@ -20,11 +20,11 @@ class EventFilters < Spinach::FeatureSteps
end
Then
'I should see merge request event'
do
page
.
should
have_selector
(
'span.
merg
ed'
)
page
.
should
have_selector
(
'span.
accept
ed'
)
end
And
'I should not see merge request event'
do
page
.
should_not
have_selector
(
'span.
merg
ed'
)
page
.
should_not
have_selector
(
'span.
accept
ed'
)
end
And
'this project has push event'
do
...
...
@@ -68,7 +68,7 @@ class EventFilters < Spinach::FeatureSteps
target_id:
merge_request
.
id
,
target_type:
"MergeRequest"
,
author_id:
@user
.
id
)
)
end
When
'I click "push" event filter'
do
...
...
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