correcting rspec test