Make `autofollow_on_join_user` configuration a list
- Fixes: #4986
@denschub @SuperTux88 I am unable to run the specs locally. I am getting the following error:
WARNING: Namespace test not found in /home/avronr/worksapce/diaspora/config/diaspora.toml
The Jasmine Ruby gems are deprecated. There will be no further releases after
the end of the Jasmine 3.x series. We recommend that most users migrate to the
jasmine-browser-runner npm package, which is the direct replacement for the
jasmine gem. See <https://jasmine.github.io/setup/browser.html> for setup
instructions, including for Rails applications that use either Sprockets or
Webpacker.
If jasmine-browser-runner doesn't meet your needs, one of these might:
* The jasmine npm package to run specs in Node.js:
<https://github.com/jasmine/jasmine-npm>
* The standalone distribution to run specs in browsers with no additional
tools: <https://github.com/jasmine/jasmine#installation>
* The jasmine-core npm package if all you need is the Jasmine assets:
<https://github.com/jasmine/jasmine>. This is the direct equivalent of the
jasmine-core Ruby gem.
To prevent this message from appearing, set the SUPPRESS_JASMINE_DEPRECATION
environment variable.
RSpec is shutting down and will print the summary report... Interrupt again to force quit.
Couldn't find any documentation for running tests either could you folks help me out here? Thanks!
Welcome to this project, @abrahamparayil! :)
Couldn't find any documentation for running tests either could you folks help me out here?
Have a look at this wiki page which explains the generics. If you still run into issues, head over to our Discourse and create a new thread in the "Development" section, so we can debug and help there without adding too much "not related to this PR" comments here.
@denschub All tests are failing with the following error:
ActiveRecord::InvalidForeignKey:
PG::ForeignKeyViolation: ERROR: insert or update on table "aspect_memberships" violates foreign key constraint "aspect_memberships_aspect_id_fk"
DETAIL: Key (aspect_id)=(10) is not present in table "aspects".
Am I missing something here? 😅
@jhass I there a specific place (as a convention) to add boot time warnings within the project?
@abrahamparayil Sorry for the late reply. I think config/load_config.rb would be a good place for this one.
@jhass No worries. I've added the warning. :)