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
cce14e0b
Commit
cce14e0b
authored
Feb 21, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing ambiguity and non-working selectors
parent
5aeaf248
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
6 deletions
+8
-6
spec/features/admin/admin_users_spec.rb
spec/features/admin/admin_users_spec.rb
+0
-1
spec/features/notes_on_merge_requests_spec.rb
spec/features/notes_on_merge_requests_spec.rb
+2
-2
spec/features/notes_on_wall_spec.rb
spec/features/notes_on_wall_spec.rb
+1
-1
spec/features/search_spec.rb
spec/features/search_spec.rb
+5
-2
No files found.
spec/features/admin/admin_users_spec.rb
View file @
cce14e0b
...
@@ -82,7 +82,6 @@ describe "Admin::Users" do
...
@@ -82,7 +82,6 @@ describe "Admin::Users" do
it
"should have user info"
do
it
"should have user info"
do
page
.
should
have_content
(
@user
.
email
)
page
.
should
have_content
(
@user
.
email
)
page
.
should
have_content
(
@user
.
name
)
page
.
should
have_content
(
@user
.
name
)
page
.
should
have_content
(
@user
.
projects_limit
)
end
end
end
end
...
...
spec/features/notes_on_merge_requests_spec.rb
View file @
cce14e0b
...
@@ -18,7 +18,7 @@ describe "On a merge request", js: true do
...
@@ -18,7 +18,7 @@ describe "On a merge request", js: true do
it
{
should
have_css
(
".js-main-target-form"
,
visible:
true
,
count:
1
)
}
it
{
should
have_css
(
".js-main-target-form"
,
visible:
true
,
count:
1
)
}
# button initalization
# button initalization
it
{
within
(
".js-main-target-form"
)
{
should
have_button
(
"Add Comment"
)
}
}
it
{
find
(
".js-main-target-form input[type=submit]"
).
value
.
should
==
"Add Comment"
}
it
{
within
(
".js-main-target-form"
)
{
should_not
have_link
(
"Cancel"
)
}
}
it
{
within
(
".js-main-target-form"
)
{
should_not
have_link
(
"Cancel"
)
}
}
# notifiactions
# notifiactions
...
@@ -136,7 +136,7 @@ describe "On a merge request diff", js: true, focus: true do
...
@@ -136,7 +136,7 @@ describe "On a merge request diff", js: true, focus: true do
end
end
it
"should be removed when canceled"
do
it
"should be removed when canceled"
do
fi
nd
(
".js-close-discussion-note-form"
).
trigger
(
"click"
)
fi
rst
(
".js-close-discussion-note-form"
).
trigger
(
"click"
)
should
have_no_css
(
".js-temp-notes-holder"
)
should
have_no_css
(
".js-temp-notes-holder"
)
end
end
...
...
spec/features/notes_on_wall_spec.rb
View file @
cce14e0b
...
@@ -17,7 +17,7 @@ describe "On the project wall", js: true do
...
@@ -17,7 +17,7 @@ describe "On the project wall", js: true do
it
{
should
have_css
(
".js-main-target-form"
,
visible:
true
,
count:
1
)
}
it
{
should
have_css
(
".js-main-target-form"
,
visible:
true
,
count:
1
)
}
# button initalization
# button initalization
it
{
within
(
".js-main-target-form"
)
{
should
have_button
(
"Add Comment"
)
}
}
it
{
find
(
".js-main-target-form input[type=submit]"
).
value
.
should
==
"Add Comment"
}
it
{
within
(
".js-main-target-form"
)
{
should_not
have_link
(
"Cancel"
)
}
}
it
{
within
(
".js-main-target-form"
)
{
should_not
have_link
(
"Cancel"
)
}
}
# notifiactions
# notifiactions
...
...
spec/features/search_spec.rb
View file @
cce14e0b
...
@@ -6,8 +6,11 @@ describe "Search" do
...
@@ -6,8 +6,11 @@ describe "Search" do
@project
=
create
(
:project
)
@project
=
create
(
:project
)
@project
.
team
<<
[
@user
,
:reporter
]
@project
.
team
<<
[
@user
,
:reporter
]
visit
search_path
visit
search_path
fill_in
"search"
,
with:
@project
.
name
[
0
..
3
]
click_button
"Search"
within
'.search-holder'
do
fill_in
"search"
,
with:
@project
.
name
[
0
..
3
]
click_button
"Search"
end
end
end
it
"should show project in search results"
do
it
"should show project in search results"
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