mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Call add instead of registerDeserializer
This commit is contained in:
@@ -9,7 +9,7 @@ describe ".deserialize(state)", ->
|
||||
|
||||
beforeEach ->
|
||||
deserializer = new DeserializerManager()
|
||||
deserializer.registerDeserializer(Foo)
|
||||
deserializer.add(Foo)
|
||||
|
||||
it "calls deserialize on the deserializer for the given state object, or returns undefined if one can't be found", ->
|
||||
spyOn(console, 'warn')
|
||||
|
||||
Reference in New Issue
Block a user