My specs work fine validating login and in that validation I have access to some_array but in the validation for some_array it fails because I don't have access to it. Is there some special thing I need to do to test for arrays?
model
validates_presence_of :login, :some_array
rspec
it { should validate_presence_of(:login) }
it { should validate_presence_of(:some_array) }