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
1a23b74d
Commit
1a23b74d
authored
Sep 05, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use broader js flag.
parent
7f440b92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
reset_filters_spec.rb
spec/features/issues/reset_filters_spec.rb
+5
-5
No files found.
spec/features/issues/reset_filters_spec.rb
View file @
1a23b74d
require
'rails_helper'
feature
'
Filter Resetter'
,
feature
:
true
do
feature
'
Issues filter resetter'
,
feature:
true
,
js
:
true
do
include
WaitForAjax
let
(
:project
)
{
create
(
:project
,
:public
)
}
let
(
:milestone
)
{
create
(
:milestone
,
project:
project
)
}
context
'resets the milestone filter'
,
js:
true
do
context
'resets the milestone filter'
do
it
'shows all issues when reset'
do
create
(
:issue
,
project:
project
,
milestone:
milestone
)
create
(
:issue
,
project:
project
)
...
...
@@ -21,7 +21,7 @@ feature 'Filter Resetter', feature: true do
end
end
context
'resets labels filter'
,
js:
true
do
context
'resets labels filter'
do
it
'shows all issues when reset'
do
bug
=
create
(
:label
,
project:
project
,
title:
'bug'
)
issue1
=
create
(
:issue
,
title:
'Bugfix1'
,
project:
project
)
...
...
@@ -39,7 +39,7 @@ feature 'Filter Resetter', feature: true do
end
end
context
'resets text filter'
,
js:
true
do
context
'resets text filter'
do
it
'shows all issues when reset'
do
create
(
:issue
,
title:
'Bugfix1'
,
project:
project
)
create
(
:issue
,
title:
'Feature'
,
project:
project
)
...
...
@@ -54,7 +54,7 @@ feature 'Filter Resetter', feature: true do
end
end
context
'resets label and text dually applied'
,
js:
true
do
context
'resets label and text dually applied'
do
it
'shows all issues when reset'
do
bug
=
create
(
:label
,
project:
project
,
title:
'bug'
)
issue1
=
create
(
:issue
,
title:
'Bugfix1'
,
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