fix to support rspec 3.x