GUI -- Added mechanism to test device view.
Themed device view.
Change-Id: I471ec56b94c927d834f8067d06efce33ddfa4596
diff --git a/web/gui/src/main/webapp/tests/app/fw/remote/urlfn-spec.js b/web/gui/src/main/webapp/tests/app/fw/remote/urlfn-spec.js
index 764d43e..aa3f28e 100644
--- a/web/gui/src/main/webapp/tests/app/fw/remote/urlfn-spec.js
+++ b/web/gui/src/main/webapp/tests/app/fw/remote/urlfn-spec.js
@@ -28,7 +28,7 @@
beforeEach(module(function($provide) {
$provide.factory('$location', function (){
return {
- protocol: function () { return '$http'; },
+ protocol: function () { return 'http'; },
host: function () { return 'foo'; },
port: function () { return '80'; }
};
@@ -53,6 +53,6 @@
});
it('should build the url prefix', function () {
- expect(ufs.urlPrefix()).toEqual('$http://foo:80');
+ expect(ufs.urlPrefix()).toEqual('http://foo:80');
});
});