Hi guys,
I'm trying to test the eloquent validation. For this I create a base model where there is a method named validateAndSave, which constructs the validation rules. My model extends from this class and is initialized in the repository.
When I try to test this method there's an error with the Validator::make facade.
How I could test the validation rules of the model using phpspec?