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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
545ba40a
Commit
545ba40a
authored
Jul 26, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tidy scope of repo specs
parent
417830ae
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
12 deletions
+14
-12
spec/javascripts/repo/repo_binary_viewer_spec.js
spec/javascripts/repo/repo_binary_viewer_spec.js
+2
-2
spec/javascripts/repo/repo_editor_spec.js
spec/javascripts/repo/repo_editor_spec.js
+2
-2
spec/javascripts/repo/repo_file_options_spec.js
spec/javascripts/repo/repo_file_options_spec.js
+2
-1
spec/javascripts/repo/repo_file_spec.js
spec/javascripts/repo/repo_file_spec.js
+2
-1
spec/javascripts/repo/repo_loading_file_spec.js
spec/javascripts/repo/repo_loading_file_spec.js
+2
-2
spec/javascripts/repo/repo_prev_directory_spec.js
spec/javascripts/repo/repo_prev_directory_spec.js
+2
-2
spec/javascripts/repo/repo_tab_spec.js
spec/javascripts/repo/repo_tab_spec.js
+2
-2
No files found.
spec/javascripts/repo/repo_binary_viewer_spec.js
View file @
545ba40a
...
...
@@ -3,9 +3,9 @@ import Store from '~/repo/repo_store';
import
repoBinaryViewer
from
'
~/repo/repo_binary_viewer.vue
'
;
describe
(
'
RepoBinaryViewer
'
,
()
=>
{
const
RepoBinaryViewer
=
Vue
.
extend
(
repoBinaryViewer
);
function
createComponent
()
{
const
RepoBinaryViewer
=
Vue
.
extend
(
repoBinaryViewer
);
return
new
RepoBinaryViewer
().
$mount
();
}
...
...
spec/javascripts/repo/repo_editor_spec.js
View file @
545ba40a
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
repoEditor
from
'
~/repo/repo_editor.vue
'
;
describe
(
'
RepoEditor
'
,
()
=>
{
const
RepoEditor
=
Vue
.
extend
(
repoEditor
);
function
createComponent
()
{
const
RepoEditor
=
Vue
.
extend
(
repoEditor
);
return
new
RepoEditor
().
$mount
();
}
...
...
spec/javascripts/repo/repo_file_options_spec.js
View file @
545ba40a
...
...
@@ -2,10 +2,11 @@ import Vue from 'vue';
import
repoFileOptions
from
'
~/repo/repo_file_options.vue
'
;
describe
(
'
RepoFileOptions
'
,
()
=>
{
const
RepoFileOptions
=
Vue
.
extend
(
repoFileOptions
);
const
projectName
=
'
projectName
'
;
function
createComponent
(
propsData
)
{
const
RepoFileOptions
=
Vue
.
extend
(
repoFileOptions
);
return
new
RepoFileOptions
({
propsData
,
}).
$mount
();
...
...
spec/javascripts/repo/repo_file_spec.js
View file @
545ba40a
...
...
@@ -2,7 +2,6 @@ import Vue from 'vue';
import
repoFile
from
'
~/repo/repo_file.vue
'
;
describe
(
'
RepoFile
'
,
()
=>
{
const
RepoFile
=
Vue
.
extend
(
repoFile
);
const
file
=
{
icon
:
'
icon
'
,
url
:
'
url
'
,
...
...
@@ -16,6 +15,8 @@ describe('RepoFile', () => {
};
function
createComponent
(
propsData
)
{
const
RepoFile
=
Vue
.
extend
(
repoFile
);
return
new
RepoFile
({
propsData
,
}).
$mount
();
...
...
spec/javascripts/repo/repo_loading_file_spec.js
View file @
545ba40a
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
repoLoadingFile
from
'
~/repo/repo_loading_file.vue
'
;
describe
(
'
RepoLoadingFile
'
,
()
=>
{
const
RepoLoadingFile
=
Vue
.
extend
(
repoLoadingFile
);
function
createComponent
(
propsData
)
{
const
RepoLoadingFile
=
Vue
.
extend
(
repoLoadingFile
);
return
new
RepoLoadingFile
({
propsData
,
}).
$mount
();
...
...
spec/javascripts/repo/repo_prev_directory_spec.js
View file @
545ba40a
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
repoPrevDirectory
from
'
~/repo/repo_prev_directory.vue
'
;
describe
(
'
RepoPrevDirectory
'
,
()
=>
{
const
RepoPrevDirectory
=
Vue
.
extend
(
repoPrevDirectory
);
function
createComponent
(
propsData
)
{
const
RepoPrevDirectory
=
Vue
.
extend
(
repoPrevDirectory
);
return
new
RepoPrevDirectory
({
propsData
,
}).
$mount
();
...
...
spec/javascripts/repo/repo_tab_spec.js
View file @
545ba40a
...
...
@@ -2,9 +2,9 @@ import Vue from 'vue';
import
repoTab
from
'
~/repo/repo_tab.vue
'
;
describe
(
'
RepoTab
'
,
()
=>
{
const
RepoTab
=
Vue
.
extend
(
repoTab
);
function
createComponent
(
propsData
)
{
const
RepoTab
=
Vue
.
extend
(
repoTab
);
return
new
RepoTab
({
propsData
,
}).
$mount
();
...
...
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