Closed benkoshy closed 2 years ago
Looks good now, thanks 👍🏻 I'll fix the failing tests after merge.
I realized we'll also need to handle RSpec, where the fixture needs to be created in spec/fixtures
. Would you be comfortable working on a PR for that?
I'll give it a shot!
I had avoided rspec, because it is a gem which needs to be added to rails. However because you asked, i can def add it: Looks very straightforward, i can add a conditional, check for rspec, and add the fixtures. Probably will be done tomorrow
What is this?
Account
name. This is hard coded.test/fixtures
location as per convention.Why?
I want to automatically create user accounts as fixtures, so I can run request specs without creating accounts on the fly:
(By the way, is there any way of getting a hold of a rodauth object in tests so we can write?
I hope this is useful/helpful. if not feel free to discard.