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
baa54629
Commit
baa54629
authored
12 years ago
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Tests] added spec for search page
parent
020caf12
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
spec/requests/searc_spec.rb
spec/requests/searc_spec.rb
+17
-0
No files found.
spec/requests/searc_spec.rb
0 → 100644
View file @
baa54629
require
'spec_helper'
describe
"Search"
do
before
do
login_as
:user
@project
=
Factory
:project
@project
.
add_access
(
@user
,
:read
)
visit
search_path
fill_in
"search"
,
:with
=>
@project
.
name
[
0
..
3
]
click_button
"Search"
end
it
"should show project in search results"
do
page
.
should
have_content
@project
.
name
end
end
This diff is collapsed.
Click to expand it.
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