factory_context.rb 109 B

12345
  1. RSpec.shared_context 'factory' do
  2. it 'saves successfully' do
  3. expect(subject).to be_persisted
  4. end
  5. end