deleted useless else rspec was warning