Fix tests for rspec 3.0