function it_works_for_many_instances_of_vars($io) { $this->render('{name}! {greeting}, {name}', array('name' => 'Chuck', 'greeting' => 'hello')); $io->write('Chuck! hello, Chuck')->shouldHaveBeenCalled(); }