fix in updateVersion with tests

This commit is contained in:
Matias Alejo Garcia 2014-06-04 23:47:22 -03:00
commit 9c24b45f4c
4 changed files with 12 additions and 8 deletions

View file

@ -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() {