parent
7fe7287928
commit
02b330de70
2 changed files with 16 additions and 0 deletions
|
|
@ -1,3 +1,12 @@
|
|||
# 0.5.8.0
|
||||
|
||||
## Refactor
|
||||
|
||||
## Bug fixes
|
||||
* Fix empty name field when editing aspect names [#6548](https://github.com/diaspora/diaspora/issues/6548)
|
||||
|
||||
## Features
|
||||
|
||||
# 0.5.7.0
|
||||
|
||||
## Refactor
|
||||
|
|
|
|||
|
|
@ -84,6 +84,13 @@ describe("app.pages.Contacts", function(){
|
|||
this.button.trigger('click');
|
||||
expect($('.header > h3').css('display')).toBe('none');
|
||||
});
|
||||
|
||||
it("sets the current aspect name as the default value in the form", function() {
|
||||
$(".header > h3 #aspect_name").text("My awesome unicorn aspect");
|
||||
expect($("#aspect_name_form input[name='aspect[name]']").val()).not.toBe("My awesome unicorn aspect");
|
||||
this.button.trigger("click");
|
||||
expect($("#aspect_name_form input[name='aspect[name]']").val()).toBe("My awesome unicorn aspect");
|
||||
});
|
||||
});
|
||||
|
||||
context('search contact list', function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue