codegram/futuroscope — pull request #19 by ggPeti (2014-02-13 15:22:20+00:00)
Title: Fixed incorrectly trying to raise an error

Because the `Future` class is a subclass of `Delegator`, it tries to delegate everything. Even `raise`! Thus, we need to explicitly call `Kernel.raise`, otherwise we get a `SystemStackError`. The specs were incorrect as well, because they did not explicitly check for the error type and message, only expecting an `::Exception` to be raised.