having a rspec testing problem