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
Tatuya Kamada
gitlab-ce
Commits
1d0820c7
Commit
1d0820c7
authored
Feb 07, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken specs from the Frontend side
parent
edebf538
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
spec/javascripts/commit/pipelines/mock_data.js.es6
spec/javascripts/commit/pipelines/mock_data.js.es6
+2
-0
spec/javascripts/commit/pipelines/pipelines_spec.js.es6
spec/javascripts/commit/pipelines/pipelines_spec.js.es6
+5
-6
spec/javascripts/vue_shared/components/commit_spec.js.es6
spec/javascripts/vue_shared/components/commit_spec.js.es6
+1
-1
No files found.
spec/javascripts/commit/pipelines/mock_data.js.es6
View file @
1d0820c7
...
@@ -88,3 +88,5 @@ const pipeline = {
...
@@ -88,3 +88,5 @@ const pipeline = {
created_at: '2017-01-16T17:13:59.800Z',
created_at: '2017-01-16T17:13:59.800Z',
updated_at: '2017-01-25T00:00:17.132Z',
updated_at: '2017-01-25T00:00:17.132Z',
};
};
module.exports = pipeline;
spec/javascripts/commit/pipelines/pipelines_spec.js.es6
View file @
1d0820c7
/* global pipeline, Vue */
/* global pipeline, Vue */
require('vue-resource');
require('~/flash');
require('flash');
require('~/commit/pipelines/pipelines_store');
require('~/commit/pipelines/pipelines_store');
require('~/commit/pipelines/pipelines_service');
require('~/commit/pipelines/pipelines_service');
require('~/commit/pipelines/pipelines_table');
require('~/commit/pipelines/pipelines_table');
require('~vue_shared/vue_resource_interceptor');
require('~
/
vue_shared/vue_resource_interceptor');
require('./mock_data');
const pipeline =
require('./mock_data');
describe('Pipelines table in Commits and Merge requests', () => {
describe('Pipelines table in Commits and Merge requests', () => {
preloadFixtures('
pipelines_table
');
preloadFixtures('
static/pipelines_table.html.raw
');
beforeEach(() => {
beforeEach(() => {
loadFixtures('
pipelines_table
');
loadFixtures('
static/pipelines_table.html.raw
');
});
});
describe('successfull request', () => {
describe('successfull request', () => {
...
...
spec/javascripts/vue_shared/components/commit_spec.js.es6
View file @
1d0820c7
require('~/vue_shared/components/commit
t
');
require('~/vue_shared/components/commit');
describe('Commit component', () => {
describe('Commit component', () => {
let props;
let props;
...
...
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