updated publisher spec; fixed dropdown opacity bug
This commit is contained in:
parent
b38325c016
commit
8ffbf59f41
2 changed files with 4 additions and 8 deletions
|
|
@ -95,9 +95,10 @@ input.button
|
|||
|
||||
.wrapper
|
||||
@include box-shadow(0, 2px, 5px, #666)
|
||||
@include opacity(0)
|
||||
//@include opacity(0)
|
||||
@include transition(opacity)
|
||||
|
||||
:display none
|
||||
:z-index 20
|
||||
:position absolute
|
||||
:width 140px
|
||||
|
|
@ -171,7 +172,8 @@ input.button
|
|||
|
||||
&.active
|
||||
.wrapper
|
||||
@include opacity(1)
|
||||
//@include opacity(1)
|
||||
:display block
|
||||
|
||||
.button
|
||||
@include border-radius(3px, 3px, 0, 0)
|
||||
|
|
|
|||
|
|
@ -72,16 +72,10 @@ describe("Publisher", function() {
|
|||
it('is called with the correct element', function(){
|
||||
spyOn(Publisher, 'toggleAspectIds');
|
||||
Publisher.bindAspectToggles();
|
||||
|
||||
var aspBadge = $("#publisher .dropdown .dropdown_list li").last();
|
||||
|
||||
console.log(aspBadge);
|
||||
|
||||
aspBadge.click();
|
||||
|
||||
expect(Publisher.toggleAspectIds).toHaveBeenCalledWith(aspBadge);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
describe('toggleAspectIds', function(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue