removing the warnings while running the rspec