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:29 UTC
[45/50] [abbrv] brooklyn-ui git commit: fix test for removal of
delete button from home page js gui
fix test for removal of delete button from home page js gui
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/10b952f3
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/10b952f3
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/10b952f3
Branch: refs/heads/0.6.0
Commit: 10b952f3530f4f0b9df00c7bf727aa4d2c9de27f
Parents: edfe0b1
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Thu Oct 31 22:19:15 2013 -0700
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Thu Oct 31 22:19:15 2013 -0700
----------------------------------------------------------------------
usage/jsgui/src/test/javascript/specs/home-spec.js | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/10b952f3/usage/jsgui/src/test/javascript/specs/home-spec.js
----------------------------------------------------------------------
diff --git a/usage/jsgui/src/test/javascript/specs/home-spec.js b/usage/jsgui/src/test/javascript/specs/home-spec.js
index 2878418..90b747c 100644
--- a/usage/jsgui/src/test/javascript/specs/home-spec.js
+++ b/usage/jsgui/src/test/javascript/specs/home-spec.js
@@ -74,15 +74,15 @@ define([
model:model
}).render()
- it('must have 3 td tags', function () {
- expect(view.$('td').length).toEqual(3)
+ it('must have 2 td tags', function () {
+ expect(view.$('td').length).toEqual(2)
})
- it('must have a td with button.delete', function () {
- expect(view.$('button.delete').length).toEqual(1)
- expect(view.$('button.delete').parent().is('td')).toEqual(true)
- expect(view.$("button.delete").attr("id")).toBe(model.cid)
- })
+// it('must have a td with button.delete', function () {
+// expect(view.$('button.delete').length).toEqual(1)
+// expect(view.$('button.delete').parent().is('td')).toEqual(true)
+// expect(view.$("button.delete").attr("id")).toBe(model.cid)
+// })
})
})
})
\ No newline at end of file