1
0

import_spec.rb 226 B

12345678910
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe Import do
  4. describe 'Validations' do
  5. it { is_expected.to validate_presence_of(:type) }
  6. it { is_expected.to validate_presence_of(:data) }
  7. end
  8. end