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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
ad765353
Commit
ad765353
authored
Sep 30, 2015
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sometimes failing tests
parent
b9ccc79c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/features/ci/admin/runners_spec.rb
spec/features/ci/admin/runners_spec.rb
+5
-5
No files found.
spec/features/ci/admin/runners_spec.rb
View file @
ad765353
...
...
@@ -19,16 +19,16 @@ describe "Admin Runners" do
describe
'search'
do
before
do
FactoryGirl
.
create
:ci_runner
,
description:
'foo'
FactoryGirl
.
create
:ci_runner
,
description:
'bar'
FactoryGirl
.
create
:ci_runner
,
description:
'
runner-
foo'
FactoryGirl
.
create
:ci_runner
,
description:
'
runner-
bar'
search_form
=
find
(
'#runners-search'
)
search_form
.
fill_in
'search'
,
with:
'foo'
search_form
.
fill_in
'search'
,
with:
'
runner-
foo'
search_form
.
click_button
'Search'
end
it
{
expect
(
page
).
to
have_content
(
"foo"
)
}
it
{
expect
(
page
).
not_to
have_content
(
"bar"
)
}
it
{
expect
(
page
).
to
have_content
(
"
runner-
foo"
)
}
it
{
expect
(
page
).
not_to
have_content
(
"
runner-
bar"
)
}
end
end
...
...
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