Don't use atom.workspaceView in specs
Use atom.commands for confirm/cancel