You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:52:01 UTC
[28/50] [abbrv] brooklyn-ui git commit: fix tests for previous
app-tree tidy
fix tests for previous app-tree tidy
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/52afc87f
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/52afc87f
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/52afc87f
Branch: refs/heads/0.5.0
Commit: 52afc87f914b5eea266173e289aefb4900db59c8
Parents: 2a60588
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Tue Jan 22 01:34:08 2013 -0600
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Tue Jan 22 01:34:51 2013 -0600
----------------------------------------------------------------------
usage/jsgui/src/test/javascript/specs/model/app-tree-spec.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/52afc87f/usage/jsgui/src/test/javascript/specs/model/app-tree-spec.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/test/javascript/specs/model/app-tree-spec.js b/usage/jsgui/src/test/javascript/specs/model/app-tree-spec.js
index ee74046..a0a75c6 100644
--- a/usage/jsgui/src/test/javascript/specs/model/app-tree-spec.js
+++ b/usage/jsgui/src/test/javascript/specs/model/app-tree-spec.js
@@ -22,7 +22,7 @@ define([
it("has working getDisplayName", function () {
var app1 = apps.at(0)
- expect(app1.getDisplayName()).toBe("test:riBZUjMq")
+ expect(app1.getDisplayName()).toBe("test")
})
it("has working hasChildren method", function () {
@@ -33,7 +33,7 @@ define([
var app1 = apps.at(0),
children = new AppTree.Collection(app1.get("children"))
expect(children.length).toBe(1)
- expect(children.at(0).getDisplayName()).toBe("tomcat1:fXyyQ7Ap")
+ expect(children.at(0).getDisplayName()).toBe("tomcat1")
})
})
})
\ No newline at end of file