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
106e288b
Commit
106e288b
authored
Mar 15, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflicts in specs
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
2dd4167d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
14 deletions
+3
-14
spec/javascripts/project_title_spec.js
spec/javascripts/project_title_spec.js
+0
-4
spec/models/user_spec.rb
spec/models/user_spec.rb
+0
-3
spec/spec_helper.rb
spec/spec_helper.rb
+3
-7
No files found.
spec/javascripts/project_title_spec.js
View file @
106e288b
...
...
@@ -26,11 +26,7 @@ require('~/project');
var
fakeAjaxResponse
=
function
fakeAjaxResponse
(
req
)
{
var
d
;
expect
(
req
.
url
).
toBe
(
'
/api/v3/projects.json?simple=true
'
);
<<<<<<<
HEAD
expect
(
req
.
data
).
toEqual
({
search
:
''
,
order_by
:
'
last_activity_at
'
,
membership
:
true
,
per_page
:
20
});
=======
expect
(
req
.
data
).
toEqual
({
search
:
''
,
order_by
:
'
last_activity_at
'
,
per_page
:
20
,
membership
:
true
});
>>>>>>>
ce
/
master
d
=
$
.
Deferred
();
d
.
resolve
(
this
.
projects_data
);
return
d
.
promise
();
...
...
spec/models/user_spec.rb
View file @
106e288b
...
...
@@ -211,7 +211,6 @@ describe User, models: true do
end
end
end
<<<<<<<
HEAD
it
'does not allow a user to be both an auditor and an admin'
do
user
=
build
(
:user
,
:admin
,
:auditor
)
...
...
@@ -234,8 +233,6 @@ describe User, models: true do
expect
(
user
).
to
be_valid
end
end
=======
>>>>>>>
ce
/
master
end
describe
"non_ldap"
do
...
...
spec/spec_helper.rb
View file @
106e288b
...
...
@@ -43,11 +43,8 @@ RSpec.configure do |config|
config
.
include
ActiveSupport
::
Testing
::
TimeHelpers
config
.
include
StubGitlabCalls
config
.
include
StubGitlabData
<<<<<<<
HEAD
config
.
include
Rails
.
application
.
routes
.
url_helpers
,
type: :routing
=======
config
.
include
ApiHelpers
,
:api
>>>>>>>
ce
/
master
config
.
include
Rails
.
application
.
routes
.
url_helpers
,
type: :routing
config
.
infer_spec_type_from_file_location!
...
...
@@ -61,17 +58,16 @@ RSpec.configure do |config|
TestEnv
.
init
end
<<<<<<<
HEAD
config
.
before
(
:all
)
do
License
.
destroy_all
TestLicense
.
init
=======
end
if
ENV
[
'CI'
]
# Retry only on feature specs that use JS
config
.
around
:each
,
:js
do
|
ex
|
ex
.
run_with_retry
retry:
3
end
>>>>>>>
ce
/
master
end
config
.
around
(
:each
,
:caching
)
do
|
example
|
...
...
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