Remove warnings on rspec