Remove unused model_have_error_on_field matcher (#33273)

This commit is contained in:
Matt Jankowski authored and GitHub committed 2024-12-12 10:28:05 +00:00
1 parent e0a49af47d
commit 4bf6af3b61
2 files changed
+1 -19

No files matched your search

+1 -4
View File
@@ -61,10 +61,7 @@ RSpec.describe Form::Import do
let(:import_type) { 'following' }
let(:import_file) { 'boop.ogg' }
it 'has errors' do
# NOTE: not testing more specific error because we don't know the string to match
expect(subject).to model_have_error_on_field(:data)
end
it { is_expected.to_not allow_value(data).for(:data) }
end
context 'when importing more follows than allowed' do