Add basic end-to-end test for admin moderation interface (#29424)
This commit is contained in:
parent
036f5a05e3
commit
6f7615ba86
3 changed files with 40 additions and 0 deletions
|
@ -109,6 +109,9 @@ RSpec.configure do |config|
|
|||
# Also needs to be set per-example here because of the database cleaner.
|
||||
Setting.registrations_mode = 'open'
|
||||
|
||||
# Load seeds so we have the default roles otherwise cleared by `DatabaseCleaner`
|
||||
Rails.application.load_seed
|
||||
|
||||
example.run
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue