Make compatible with rspec 3.0