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
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
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
class
EventFilters
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedAuthentication
include
SharedPaths
include
SharedPaths
include
SharedProject
include
SharedProject
Then
'I should see push event'
do
Then
'I should see push event'
do
page
.
should
have_selector
(
'span.pushed'
)
page
.
should
have_selector
(
'span.pushed'
)
end
end
Then
'I should not see push event'
do
Then
'I should not see push event'
do
page
.
should_not
have_selector
(
'span.pushed'
)
page
.
should_not
have_selector
(
'span.pushed'
)
end
end
...
@@ -20,11 +20,11 @@ class EventFilters < Spinach::FeatureSteps
...
@@ -20,11 +20,11 @@ class EventFilters < Spinach::FeatureSteps
end
end
Then
'I should see merge request event'
do
Then
'I should see merge request event'
do
page
.
should
have_selector
(
'span.
merg
ed'
)
page
.
should
have_selector
(
'span.
accept
ed'
)
end
end
And
'I should not see merge request event'
do
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
end
And
'this project has push event'
do
And
'this project has push event'
do
...
@@ -68,7 +68,7 @@ class EventFilters < Spinach::FeatureSteps
...
@@ -68,7 +68,7 @@ class EventFilters < Spinach::FeatureSteps
target_id:
merge_request
.
id
,
target_id:
merge_request
.
id
,
target_type:
"MergeRequest"
,
target_type:
"MergeRequest"
,
author_id:
@user
.
id
author_id:
@user
.
id
)
)
end
end
When
'I click "push" event filter'
do
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