ashfurrow / C-41

C-41 is an application to help people develop film at home by providing a series of "recipes" for photographers to use.
MIT License
2.05k stars 368 forks source link

[WIP] Write Tests #10

Closed ashfurrow closed 10 years ago

ashfurrow commented 10 years ago

Getting a problem whenever I instantiate an instance of ASHTimerViewModel. An assertion in ReactiveCocoa is being thrown.

NSCAssert([t isKindOfClass:RACTuple.class], @"Value from stream %@ is not a tuple: %@", stream, t);

But t is a RACTuple, so I'm not sure exactly what's going on, or why it works fine when not run under the test target. Anyone have any advice?

ashfurrow commented 10 years ago

Looks like this may be the culprit ...

ashfurrow commented 10 years ago

Fixed! https://github.com/AshFurrow/C-41/commit/a6398071cd52ca02f84f17cb749dac283c512e58