Closed meg-gutshall closed 3 years ago
The two failing specs are because Chromedriver isn't starting up in the test suite. I was having this issue locally and then I installed it with the command brew install --cask chromedriver
. Then I had to cd
into the directory of the version I had just installed and mark it as safe to use with xattr -d com.apple.quarantine chromedriver
and it worked from there.
I'll get the lint and tests passing again on main
. Thank you for these great additions!
Description
generators.rb
file inconfig/initializers
that would use RSpec as the default test framework whenever I run a generator as well as skip assets and helper files.build(:admin)
orcreate(:volunteer)
instead ofbuild(:user, :admin)
orcreate(:user, :volunteer)
. It makes more sense to use traits for other attributes that won't affect the workflow of the user.sessions#new
spec to test the changes I made to the testing configs.