dnmfarrell / Perly-Bot

a RSS trawler and social media broadcaster
BSD 2-Clause "Simplified" License
15 stars 6 forks source link

Feeds.t checks that the config has the same number of media targets #3

Closed briandfoy closed 9 years ago

briandfoy commented 9 years ago

But, the perltricks.com config has one media target so it fails. I made it a TODO test.

dnmfarrell commented 9 years ago

Yeah ... I should fix this. Not sure why perltricks.com doesn't have one media target and one media object. It should only initialize as many objects as there are targets. Will look into this now...

dnmfarrell commented 9 years ago

Found the issue. It was caused because I was mocking the media objects and injecting both mocked objects into the feed object. Perly::Bot doesn't do this, hence the difference. Now fixed.