factory_context.rb 262 B

1234567
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. RSpec.shared_context 'factory' do # rubocop:disable RSpec/ContextWording
  3. it 'saves successfully' do
  4. expect(subject).to be_persisted # rubocop:disable RSpec/NamedSubject
  5. end
  6. end