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
9fb733c3
Unverified
Commit
9fb733c3
authored
Mar 05, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert few more broken specs related to *_with_namespace methods
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
f53cf3c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
autocomplete_controller_spec.rb
spec/controllers/autocomplete_controller_spec.rb
+2
-2
object_importer_spec.rb
...ers/concerns/gitlab/github_import/object_importer_spec.rb
+1
-1
No files found.
spec/controllers/autocomplete_controller_spec.rb
View file @
9fb733c3
...
...
@@ -246,7 +246,7 @@ describe AutocompleteController do
expect
(
json_response
.
size
).
to
eq
(
1
)
expect
(
json_response
.
first
[
'id'
]).
to
eq
authorized_project
.
id
expect
(
json_response
.
first
[
'
full_nam
e'
]).
to
eq
authorized_project
.
full_name
expect
(
json_response
.
first
[
'
name_with_namespac
e'
]).
to
eq
authorized_project
.
full_name
end
end
end
...
...
@@ -267,7 +267,7 @@ describe AutocompleteController do
expect
(
json_response
.
size
).
to
eq
(
1
)
expect
(
json_response
.
first
[
'id'
]).
to
eq
authorized_search_project
.
id
expect
(
json_response
.
first
[
'
full_nam
e'
]).
to
eq
authorized_search_project
.
full_name
expect
(
json_response
.
first
[
'
name_with_namespac
e'
]).
to
eq
authorized_search_project
.
full_name
end
end
end
...
...
spec/workers/concerns/gitlab/github_import/object_importer_spec.rb
View file @
9fb733c3
...
...
@@ -25,7 +25,7 @@ describe Gitlab::GithubImport::ObjectImporter do
importer_class
=
double
(
:importer_class
)
importer_instance
=
double
(
:importer_instance
)
representation
=
double
(
:representation
)
project
=
double
(
:project
,
path_with_namespace
:
'foo/bar'
)
project
=
double
(
:project
,
full_path
:
'foo/bar'
)
client
=
double
(
:client
)
expect
(
worker
)
...
...
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