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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
92de0faf
Commit
92de0faf
authored
Mar 19, 2013
by
Sato Hiroyuki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec errors.
parent
fc66c183
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
spec/features/projects_spec.rb
spec/features/projects_spec.rb
+1
-1
spec/features/security/project_access_spec.rb
spec/features/security/project_access_spec.rb
+10
-7
No files found.
spec/features/projects_spec.rb
View file @
92de0faf
...
@@ -11,7 +11,7 @@ describe "Projects" do
...
@@ -11,7 +11,7 @@ describe "Projects" do
end
end
it
"should be correct path"
do
it
"should be correct path"
do
expect
{
click_link
"Remove"
}.
to
change
{
Project
.
count
}.
by
(
-
1
)
expect
{
click_link
"Remove
project
"
}.
to
change
{
Project
.
count
}.
by
(
-
1
)
end
end
end
end
end
end
spec/features/security/project_access_spec.rb
View file @
92de0faf
...
@@ -230,6 +230,8 @@ describe "Application access" do
...
@@ -230,6 +230,8 @@ describe "Application access" do
end
end
describe
"GET /project_code/files"
do
describe
"GET /project_code/files"
do
pending
(
"ProjectsController#files have been deleted."
)
do
subject
{
files_project_path
(
project
)
}
subject
{
files_project_path
(
project
)
}
it
{
should
be_allowed_for
master
}
it
{
should
be_allowed_for
master
}
...
@@ -240,4 +242,5 @@ describe "Application access" do
...
@@ -240,4 +242,5 @@ describe "Application access" do
it
{
should
be_denied_for
:visitor
}
it
{
should
be_denied_for
:visitor
}
end
end
end
end
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