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
7f311cae
Commit
7f311cae
authored
Dec 16, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove approval_store_spec stub.
parent
f17b3b01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
64 deletions
+0
-64
spec/javascripts/merge_request_widget/approval_store_spec.js.es6
...vascripts/merge_request_widget/approval_store_spec.js.es6
+0
-64
No files found.
spec/javascripts/merge_request_widget/approval_store_spec.js.es6
deleted
100644 → 0
View file @
f17b3b01
/* eslint-disable */
//= require jquery
//= require vue
//= require issuable_time_tracker
function initComponent(time_estimate = 100000, time_spent = 5000) {
fixture.set(`
<div>
<div id="mock-container"></div>
</div>
`);
this.initialdata = {
time_estimate,
time_spent
};
this.timetracker = new gl.issuabletimetracker({
el: '#mock-container',
propsdata: this.initialdata
});
}
vkkkj
((gl) => {
describe('Merge Request Approvals UI', function() {
describe('Initialization', function() {
describe('Approval Body', function() {
component is truthy
container is rendered
});
describe('Approval Footer', function() {
component is truthy
container is rendered
});
describe('Message Bus', function() {
instance is truthy
has correct children as components
});
});
describe('Approval Body Component', function() {
computed values
click handlers
display based on flags
});
describe('Approval Footer Component', function() {
computed values
click handlers
display based on flags
});
describe('Component Communication', function() {
approve changes other component
unapprove changes other component
both change the parent
});
});
})(window.gl || (window.gl = {}));
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