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
Boxiang Sun
gitlab-ce
Commits
b485fdb5
Commit
b485fdb5
authored
Oct 08, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve project remove spec
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
74217f75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
spec/features/projects_spec.rb
spec/features/projects_spec.rb
+6
-2
No files found.
spec/features/projects_spec.rb
View file @
b485fdb5
...
...
@@ -10,8 +10,12 @@ describe "Projects", feature: true do
visit
edit_project_path
(
@project
)
end
it
"should be correct path"
do
expect
{
click_link
"Remove project"
}.
to
change
{
Project
.
count
}.
by
(
-
1
)
it
"should be correct path"
,
js:
true
do
expect
{
click_link
"Remove project"
fill_in
'confirm_name_input'
,
with:
@project
.
path
click_button
'Confirm'
}.
to
change
{
Project
.
count
}.
by
(
-
1
)
end
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