Fix rspec warnings