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
a7ba81ea
Commit
a7ba81ea
authored
May 02, 2013
by
Stephen Lottermoser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix internally public projects tests
Takes into account
98bea4b1
and
3b88636d
.
parent
4c44c5ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/features/security/project_access_spec.rb
spec/features/security/project_access_spec.rb
+4
-4
No files found.
spec/features/security/project_access_spec.rb
View file @
a7ba81ea
...
@@ -232,7 +232,7 @@ describe "Application access" do
...
@@ -232,7 +232,7 @@ describe "Application access" do
describe
"PublicProject"
do
describe
"PublicProject"
do
let
(
:project
)
{
create
(
:project
)
}
let
(
:project
)
{
create
(
:project
_with_code
)
}
let
(
:master
)
{
create
(
:user
)
}
let
(
:master
)
{
create
(
:user
)
}
let
(
:guest
)
{
create
(
:user
)
}
let
(
:guest
)
{
create
(
:user
)
}
...
@@ -356,7 +356,7 @@ describe "Application access" do
...
@@ -356,7 +356,7 @@ describe "Application access" do
it
{
should
be_allowed_for
master
}
it
{
should
be_allowed_for
master
}
it
{
should
be_denied_for
reporter
}
it
{
should
be_denied_for
reporter
}
it
{
should
be_
deni
ed_for
:admin
}
it
{
should
be_
allow
ed_for
:admin
}
it
{
should
be_denied_for
guest
}
it
{
should
be_denied_for
guest
}
it
{
should
be_denied_for
:user
}
it
{
should
be_denied_for
:user
}
it
{
should
be_denied_for
:visitor
}
it
{
should
be_denied_for
:visitor
}
...
@@ -367,7 +367,7 @@ describe "Application access" do
...
@@ -367,7 +367,7 @@ describe "Application access" do
it
{
should
be_allowed_for
master
}
it
{
should
be_allowed_for
master
}
it
{
should
be_denied_for
reporter
}
it
{
should
be_denied_for
reporter
}
it
{
should
be_
deni
ed_for
:admin
}
it
{
should
be_
allow
ed_for
:admin
}
it
{
should
be_denied_for
guest
}
it
{
should
be_denied_for
guest
}
it
{
should
be_denied_for
:user
}
it
{
should
be_denied_for
:user
}
it
{
should
be_denied_for
:visitor
}
it
{
should
be_denied_for
:visitor
}
...
@@ -400,7 +400,7 @@ describe "Application access" do
...
@@ -400,7 +400,7 @@ describe "Application access" do
it
{
should
be_allowed_for
master
}
it
{
should
be_allowed_for
master
}
it
{
should
be_allowed_for
reporter
}
it
{
should
be_allowed_for
reporter
}
it
{
should
be_
deni
ed_for
:admin
}
it
{
should
be_
allow
ed_for
:admin
}
it
{
should
be_denied_for
guest
}
it
{
should
be_denied_for
guest
}
it
{
should
be_denied_for
:user
}
it
{
should
be_denied_for
:user
}
it
{
should
be_denied_for
:visitor
}
it
{
should
be_denied_for
:visitor
}
...
...
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