Fixed rspec 2.13 warnings.