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
f19ec4e2
Commit
f19ec4e2
authored
May 11, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ensure the correct state component is loaded when hasSHAChanged == true
parent
9bcf95bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
spec/javascripts/vue_mr_widget/stores/get_state_key_spec.js
spec/javascripts/vue_mr_widget/stores/get_state_key_spec.js
+3
-0
No files found.
spec/javascripts/vue_mr_widget/stores/get_state_key_spec.js
View file @
f19ec4e2
...
@@ -25,6 +25,9 @@ describe('getStateKey', () => {
...
@@ -25,6 +25,9 @@ describe('getStateKey', () => {
context
.
canBeMerged
=
true
;
context
.
canBeMerged
=
true
;
expect
(
bound
()).
toEqual
(
'
readyToMerge
'
);
expect
(
bound
()).
toEqual
(
'
readyToMerge
'
);
context
.
hasSHAChanged
=
true
;
expect
(
bound
()).
toEqual
(
'
shaMismatch
'
);
context
.
isPipelineBlocked
=
true
;
context
.
isPipelineBlocked
=
true
;
expect
(
bound
()).
toEqual
(
'
pipelineBlocked
'
);
expect
(
bound
()).
toEqual
(
'
pipelineBlocked
'
);
...
...
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