Fix the test
This commit is contained in:
parent
4efff1cd77
commit
e5b6850556
1 changed files with 2 additions and 4 deletions
|
|
@ -137,12 +137,10 @@ describe("Publisher", function() {
|
||||||
});
|
});
|
||||||
it('toggles the tooltip on the clicked icon', function(){
|
it('toggles the tooltip on the clicked icon', function(){
|
||||||
Publisher.bindPublicIcon();
|
Publisher.bindPublicIcon();
|
||||||
expect($(".public_icon")).toHaveAttr('title', 'is public');
|
|
||||||
|
|
||||||
$(".public_icon").click();
|
$(".public_icon").click();
|
||||||
expect($(".public_icon")).toHaveAttr('title', 'is limited');
|
expect($(".public_icon")).toHaveAttr('original-title', 'is public');
|
||||||
$(".public_icon").click();
|
$(".public_icon").click();
|
||||||
expect($(".public_icon")).toHaveAttr('title', 'is public');
|
expect($(".public_icon")).toHaveAttr('original-title', 'is limited');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
describe("bindServiceIcons", function() {
|
describe("bindServiceIcons", function() {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue