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
925d5df7
Commit
925d5df7
authored
Dec 20, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove spec for remove hasApprovers.
parent
48ebd782
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
14 deletions
+0
-14
spec/features/merge_requests/approvals_spec.rb
spec/features/merge_requests/approvals_spec.rb
+0
-1
spec/javascripts/approvals/approvals_footer_spec.js.es6
spec/javascripts/approvals/approvals_footer_spec.js.es6
+0
-13
No files found.
spec/features/merge_requests/approvals_spec.rb
View file @
925d5df7
...
...
@@ -128,7 +128,6 @@ feature 'Merge request approvals', js: true, feature: true do
find
(
'.select2-results'
).
click
click_on
(
"Save changes"
)
wait_for_ajax
find
(
'.approvals-components'
)
expect
(
page
).
to
have_content
(
"Requires 1 more approval"
)
...
...
spec/javascripts/approvals/approvals_footer_spec.js.es6
View file @
925d5df7
...
...
@@ -66,19 +66,6 @@
done();
});
});
it('should correctly set hasApprovers when there are approvers', function () {
expect(!!this.approvalsFooter.hasApprovers).toBe(false);
});
it('should correctly set hasApprovers when there are no approvers', function (done) {
this.approvalsFooter.approvedBy.push({});
Vue.nextTick(() => {
expect(!!this.approvalsFooter.hasApprovers).toBe(true);
done();
});
});
});
});
})(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