Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/lib/snack-bar/simple-snack-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ $mat-snack-bar-button-margin: 48px !default;
@include mat-button-reset;

background: none;
text-transform: uppercase;
color: inherit;
line-height: 1;
flex-shrink: 0;
Expand Down
8 changes: 4 additions & 4 deletions src/lib/snack-bar/snack-bar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ describe('MdSnackBar', () => {
});

it('should open and close a snackbar without a ViewContainerRef', async(() => {
let snackBarRef = snackBar.open('Snack time!', 'CHEW');
let snackBarRef = snackBar.open('Snack time!', 'Chew');
viewContainerFixture.detectChanges();

let messageElement = overlayContainerElement.querySelector('snack-bar-container');
Expand Down Expand Up @@ -236,15 +236,15 @@ describe('MdSnackBar', () => {

it('should open a new snackbar after dismissing a previous snackbar', async(() => {
let config = {viewContainerRef: testViewContainerRef};
let snackBarRef = snackBar.open(simpleMessage, 'DISMISS', config);
let snackBarRef = snackBar.open(simpleMessage, 'Dismiss', config);
viewContainerFixture.detectChanges();

snackBarRef.dismiss();
viewContainerFixture.detectChanges();

// Wait for the snackbar dismiss animation to finish.
viewContainerFixture.whenStable().then(() => {
snackBarRef = snackBar.open('Second snackbar', 'DISMISS', config);
snackBarRef = snackBar.open('Second snackbar', 'Dismiss', config);
viewContainerFixture.detectChanges();

// Wait for the snackbar open animation to finish.
Expand Down Expand Up @@ -290,7 +290,7 @@ describe('MdSnackBar', () => {
fakeAsync(() => {
let dismissObservableCompleted = false;
let actionObservableCompleted = false;
let snackBarRef = snackBar.open('Some content', 'dismiss');
let snackBarRef = snackBar.open('Some content', 'Dismiss');
viewContainerFixture.detectChanges();

snackBarRef.afterDismissed().subscribe(null, null, () => {
Expand Down