bananita/MBFaker — pull request #9 by rafaelmaroxa (2014-04-10 00:02:26+00:00)
Title: Fix issue #8

It turns out that if you're running MBFaker inside a test bundle (like me), **[NSBundle mainBundle]** will return the app bundle. That being said, *pathsForResourcesOfType:inDirectory* was returning an empty array.

By changing it to **[[NSBundle bundleForClass:[self class]]**, the translation files will be returned, regardless of which bundle it is.