mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
I initially ripped out Atom::getLoadSettings in favor of a mutable property because window spec was making an assumption that such a property existed anyway. Since load settings need to be available from class methods, the instance method just delegates to the class method. But that means there's no ::loadSettings property to mutate in that spec. I replaced the former approach with a spy which has the added advantage of not polluting windowSettings for subsequent specs.