This commit is contained in:
Eran Tiktin 2015-11-21 06:58:17 +02:00
parent ab693ca571
commit 4027d04662

View file

@ -322,3 +322,11 @@ describe 'browser-window module', ->
done() done()
w.loadURL "file://#{fixtures}/pages/save_page/index.html" w.loadURL "file://#{fixtures}/pages/save_page/index.html"
describe 'BrowserWindow options argument is optional', ->
it 'should create a window with default size (800x600)', ->
w.destroy()
w = new BrowserWindow()
size = w.getSize()
assert.equal size[0], 800
assert.equal size[1], 600