Sha256: 0f5e75f065bc371a7565b05d63ab9636dd7a9dec1314ff3d8318ac6c1a0b09bd
Contents?: true
Size: 471 Bytes
Versions: 20
Compression:
Stored size: 471 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' include Warden::Test::Helpers RSpec.describe 'Trying to import a CSV without collections', :clean, type: :system, js: true do context 'logged in as an admin user' do let(:admin_user) { FactoryBot.create(:admin) } before do login_as admin_user end it 'displays a warning message' do visit '/csv_imports/new' expect(page.html.match?(/no-collection/)).to eq(true) end end end
Version data entries
20 entries across 20 versions & 1 rubygems