Sha256: 713b1645085e13aea8a976be646ce2869e5c6e30f55e2bc5514447d96acc51f6
Contents?: true
Size: 544 Bytes
Versions: 4
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe Lcms::Engine::Admin::AssociationPickerController do ASSOCIATIONS = %w(content_sources tags grades topics reading_assignment_authors reading_assignment_texts standards).freeze let(:user) { create :admin } before { sign_in user } describe '#index' do ASSOCIATIONS.each do |assoc| it "list #{assoc} association items" do get :index, association: assoc, format: :json expect(response).to be_success end end end end
Version data entries
4 entries across 4 versions & 1 rubygems