ensure the correct state component is loaded when hasSHAChanged == true

This commit is contained in:
Mike Greiling 2017-05-11 18:47:27 -05:00
parent 9bcf95bda0
commit f19ec4e2ae
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@ describe('getStateKey', () => {
context.canBeMerged = true;
expect(bound()).toEqual('readyToMerge');
context.hasSHAChanged = true;
expect(bound()).toEqual('shaMismatch');
context.isPipelineBlocked = true;
expect(bound()).toEqual('pipelineBlocked');