fix in updateVersion with tests
This commit is contained in:
parent
a7cba1197a
commit
9c24b45f4c
4 changed files with 12 additions and 8 deletions
|
|
@ -101,7 +101,8 @@ describe("Unit: Controllers", function() {
|
|||
$httpBackend.expectGET(GH);
|
||||
scope.$apply();
|
||||
$httpBackend.flush();
|
||||
expect(scope.updateVersion).equal('error');
|
||||
expect(scope.updateVersion.class).equal('error');
|
||||
expect(scope.updateVersion.version).equal('v100.1.6');
|
||||
});
|
||||
|
||||
it('should check blockChainStatus', function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue