mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-15 06:43:16 +00:00
Remove admin_user helper method from SystemHelpers module (#34096)
This commit is contained in:
parent
551339401d
commit
eaf1ea3155
12 changed files with 44 additions and 10 deletions
|
|
@ -3,6 +3,7 @@
|
|||
require 'rails_helper'
|
||||
|
||||
RSpec.describe 'Admin Announcements Mail Previews' do
|
||||
let(:admin_user) { Fabricate(:admin_user) }
|
||||
let(:announcement) { Fabricate(:announcement, notification_sent_at: nil) }
|
||||
|
||||
before { sign_in(admin_user) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue