fix for rspec 3.0