remove warnings from rspec