Fix test
This commit is contained in:
parent
305021b543
commit
f16bd4fcb1
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ RSpec.describe UpdateStatusService, type: :service do
|
|||
|
||||
it 'bypass ng words' do
|
||||
text = 'ng word test'
|
||||
Fabricate(:ng_word, keyword: 'test', stranger: false)
|
||||
Form::AdminSettings.new(ng_words: 'test').save
|
||||
|
||||
expect { subject.call(status, status.account_id, text: text, bypass_validation: true) }.to_not raise_error
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue