Would be better placed in `spec/spec-helper.coffee` like so:

```
beforeEach ->
  atom.workspace ||= {}
```