BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
71345998
Commit
71345998
authored
Oct 03, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-broken-access_requests_finder_spec' into 'master'
Fix broken specs after merging !6265 See merge request !6647
parents
f2c0f823
72da6748
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
access_requests_finder_spec.rb
spec/finders/access_requests_finder_spec.rb
+2
-2
member_spec.rb
spec/models/member_spec.rb
+1
-1
No files found.
spec/finders/access_requests_finder_spec.rb
View file @
71345998
...
...
@@ -3,8 +3,8 @@ require 'spec_helper'
describe
AccessRequestsFinder
,
services:
true
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:access_requester
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
)
}
let
(
:group
)
{
create
(
:group
)
}
let
(
:project
)
{
create
(
:project
,
:public
)
}
let
(
:group
)
{
create
(
:group
,
:public
)
}
before
do
project
.
request_access
(
access_requester
)
...
...
spec/models/member_spec.rb
View file @
71345998
...
...
@@ -174,7 +174,7 @@ describe Member, models: true do
describe
'.add_user'
do
%w[project group]
.
each
do
|
source_type
|
context
"when source is a
#{
source_type
}
"
do
let!
(
:source
)
{
create
(
source_type
)
}
let!
(
:source
)
{
create
(
source_type
,
:public
)
}
let!
(
:user
)
{
create
(
:user
)
}
let!
(
:admin
)
{
create
(
:admin
)
}
...
...
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