Rspec and validatations

dat typo
rspec functioning on index and validations working correctly.