Remove rspec warnings