Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
abe85c8b
Commit
abe85c8b
authored
Apr 19, 2013
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update tests
The chat toggle element is now determined by class, not id.
parent
d394ad7f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
spec/MainSpec.js
spec/MainSpec.js
+2
-2
tests.html
tests.html
+1
-1
No files found.
spec/MainSpec.js
View file @
abe85c8b
...
...
@@ -62,9 +62,9 @@
expect
(
this
.
rosterview
.
$el
.
is
(
'
:visible
'
)).
toEqual
(
false
);
},
xmppchat
));
it
(
"
can be opened by clicking a DOM element with
id
'toggle-online-users'
"
,
$
.
proxy
(
function
()
{
it
(
"
can be opened by clicking a DOM element with
class
'toggle-online-users'
"
,
$
.
proxy
(
function
()
{
spyOn
(
this
,
'
toggleControlBox
'
).
andCallThrough
();
$
(
'
#
toggle-online-users
'
).
click
();
$
(
'
.
toggle-online-users
'
).
click
();
expect
(
this
.
toggleControlBox
).
toHaveBeenCalled
();
},
xmppchat
));
...
...
tests.html
View file @
abe85c8b
...
...
@@ -24,7 +24,7 @@
<div
id=
"chatpanel"
>
<div
id=
"collective-xmpp-chat-data"
></div>
<div
id=
"toggle-controlbox"
>
<a
href=
"#"
class=
"chat
"
id=
"
toggle-online-users"
>
<a
href=
"#"
class=
"chat
toggle-online-users"
>
<span
class=
"conn-feedback"
>
Click here to chat
</span>
<strong
style=
"display: none"
id=
"online-count"
>
(0)
</strong>
</a>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment