make gem compatible with rspec 3.x