test(button): fix failing karma test caused by changing params

This commit is contained in:
Brandy Carney
2016-11-23 12:58:01 -05:00
parent 67473f27fd
commit 51a492a3c5

View File

@@ -253,7 +253,7 @@ describe('button', () => {
function mockButton(config?: Config, ionButton?: string) {
config = config || mockConfig();
ionButton = ionButton || '';
let b = new Button(null, ionButton, config, mockElementRef(), mockRenderer());
let b = new Button(ionButton, config, mockElementRef(), mockRenderer());
b._init = true;
b.mode = 'ios';
return b;