nebulab/pulsar

Missing tests for load_recipes helper method

Closed this issue · 1 comments

There are no tests in place for the load_recipes method.

This is due to the fact that the method is used in another process, that is when the actual capistrano command is run. That makes it difficult to test the load_recipes method and the actual capistrano run.

Is there an easy way to test a process run from a ruby command?

I was mistakenly trying to integration test the helper. It was quite easy to test by testing the method separately.