ArturT/knapsack — pull request #1 by alfredolopez-kantox (2014-10-01 10:40:58+00:00)
Title: Backwards compatibility with rspec2

When adding knapsack support to our regression suite I found that it complained about the method RSpec.current_example not being found. I had to implement this workaround to support both rspec2 and 3, since we cannot afford to migrate everything to rspec3 and capybara2.2 at this moment.

Hope it is useful.