Skip to content
This repository has been archived by the owner on May 22, 2023. It is now read-only.

Commit

Permalink
(#5) Fixed specs to work on angular 1.4.x (as well as 1.3.x)
Browse files Browse the repository at this point in the history
  • Loading branch information
x1B committed Jul 9, 2015
1 parent 41d03ec commit 35a8985
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
11 changes: 7 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

## Last Changes

- [#5](https://github.com/LaxarJS/ax-messages-widget/issues/5): Fixed specs to work on angular 1.4.x (as well as 1.3.x)


## v3.0.0

- [#4](https://github.com/LaxarJS/ax-messages-display-widget/issues/4): Updated to LaxarJS 1.0.0 and updated contribution information
- [#4](https://github.com/LaxarJS/ax-messages-widget/issues/4): Updated to LaxarJS 1.0.0 and updated contribution information
+ **BREAKING CHANGE:** see ticket for details
- [#3](https://github.com/LaxarJS/ax-messages-display-widget/issues/3): Documentation: Fixed layout in section "Integration"
- [#2](https://github.com/LaxarJS/ax-messages-display-widget/issues/2): Documentation: Fixed anchor link to the section "Integration"
- [#1](https://github.com/LaxarJS/ax-messages-display-widget/issues/1): Deleted AngularJS dependency in `bower.json`
- [#3](https://github.com/LaxarJS/ax-messages-widget/issues/3): Documentation: Fixed layout in section "Integration"
- [#2](https://github.com/LaxarJS/ax-messages-widget/issues/2): Documentation: Fixed anchor link to the section "Integration"
- [#1](https://github.com/LaxarJS/ax-messages-widget/issues/1): Deleted AngularJS dependency in `bower.json`


## v2.0.0
Expand Down
10 changes: 5 additions & 5 deletions spec/ax-messages-widget.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,13 @@ define( [
//////////////////////////////////////////////////////////////////////////////////////////////////

it( 'each message receives a visible dismiss button (R2.3)', function() {
var hideButton = renderWidget().find( 'button:visible' );

expect( hideButton.length ).toBe( 2 );
var dom = renderWidget();
expect( dom.find( '.alert button.close:visible' ).length ).toBe( 2 );
expect( testBed.scope.model.messagesForView.length ).toBe( 3 );
hideButton.eq( 0 ).click();
dom.find( '.alert-danger button.close' ).click();
testBed.scope.$apply();
expect( testBed.scope.model.messagesForView.length ).toBe( 2 );
hideButton.eq( 1 ).click();
dom.find( '.alert-warning button.close' ).click();
expect( testBed.scope.model.messagesForView.length ).toBe( 0 );
} );
} );
Expand Down

0 comments on commit 35a8985

Please sign in to comment.