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
iv
gitlab-ce
Commits
ff765bb2
Commit
ff765bb2
authored
Sep 26, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove issues search rspec since we test it with spinach too
parent
e3f361fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
35 deletions
+0
-35
features/project/issues/issues.feature
features/project/issues/issues.feature
+0
-1
spec/features/issues_spec.rb
spec/features/issues_spec.rb
+0
-34
No files found.
features/project/issues/issues.feature
View file @
ff765bb2
...
@@ -47,7 +47,6 @@ Feature: Project Issues
...
@@ -47,7 +47,6 @@ Feature: Project Issues
Then
I should not see
"Release 0.4"
in issues
Then
I should not see
"Release 0.4"
in issues
And
I should not see
"Release 0.3"
in issues
And
I should not see
"Release 0.3"
in issues
@javascript
@javascript
Scenario
:
I
search all issues
Scenario
:
I
search all issues
Given
I click link
"All"
Given
I click link
"All"
...
...
spec/features/issues_spec.rb
View file @
ff765bb2
...
@@ -45,40 +45,6 @@ describe "Issues" do
...
@@ -45,40 +45,6 @@ describe "Issues" do
end
end
end
end
describe
"Search issue"
,
js:
true
do
before
do
[
'foobar'
,
'foobar2'
,
'gitlab'
].
each
do
|
title
|
create
(
:issue
,
author:
@user
,
assignee:
@user
,
project:
project
,
title:
title
)
end
end
it
"should be able to search on different statuses"
do
issue
=
Issue
.
first
# with title 'foobar'
issue
.
close
visit
project_issues_path
(
project
)
click_link
'Closed'
fill_in
'issue_search'
,
with:
'foobar'
page
.
should
have_content
'foobar'
page
.
should_not
have_content
'foobar2'
page
.
should_not
have_content
'gitlab'
end
it
"should search for term and return the correct results"
do
visit
project_issues_path
(
project
)
fill_in
'issue_search'
,
with:
'foobar'
page
.
should
have_content
'foobar'
page
.
should
have_content
'foobar2'
page
.
should_not
have_content
'gitlab'
end
end
describe
"Filter issue"
do
describe
"Filter issue"
do
before
do
before
do
[
'foobar'
,
'barbaz'
,
'gitlab'
].
each
do
|
title
|
[
'foobar'
,
'barbaz'
,
'gitlab'
].
each
do
|
title
|
...
...
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