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