bearcat 1.4.7 → 1.4.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26f3da3100ee0be6de377cacd161d35963655f84c582e5b17131839f85b7c988
4
- data.tar.gz: b2cf09c1bac28e424b95847f8192f5caaee3b2fdd5c081e533faad1d26e3b3e1
3
+ metadata.gz: 68ade65f84759057b662591696346c32387026e6177881df63a877eb53c9683c
4
+ data.tar.gz: d1d49d7790571d1a07a5ae9d8a9532c638798eb92177e0b2e2aefa717e2e8c9d
5
5
  SHA512:
6
- metadata.gz: ba140921ff97107a1b0990c6e00f05fd0eae8880068dd14f29eb278df9cba896dd39b295d9ca7c7e17ff0efd62113190537d3620f4a02706cfe23929d1c87e14
7
- data.tar.gz: 035ff67542b1546d7f279c6438cc36680a76a4818f878285361f7d94acb543c5bd5b76a5cdddc90c9b4d2ae09997bf1db7bc93b4bf0edc6ea7b440296a5f2bf5
6
+ metadata.gz: 36174e8a940970ae0bcce233d78b2607e446b09625d5f923f999635f8fd13efca28821efd62c3f6d21ad58b2b67c7c31b2b253eb5a9a8ef726b8143126394a40
7
+ data.tar.gz: 58f503d1ece04ee1c74a0bc043606061aca662a243bf07992e8ccfb94e20306fe4aaac2b44793da7605fae9e10afa9a8599a517d35b5d03d3231601e247ee609
@@ -1,40 +1,43 @@
1
- module FileHelper
1
+ module Bearcat
2
+ class Client < Footrest::Client
3
+ module FileHelper
4
+ def file_params(file_path)
5
+ {
6
+ size: File.open(file_path).size,
7
+ name: File.basename(file_path)
8
+ }
9
+ end
2
10
 
3
- def file_params(file_path)
4
- {
5
- size: File.open(file_path).size,
6
- name: File.basename(file_path)
7
- }
8
- end
9
-
10
- def declare_file(api_path, params)
11
- post(api_path, params)
12
- end
11
+ def declare_file(api_path, params)
12
+ post(api_path, params)
13
+ end
13
14
 
14
- def post_file(url, params, file_path)
15
- params['Filename'] = File.basename(file_path)
16
- params['file'] = Faraday::UploadIO.new(file_path, params['content-type'])
17
- response = upload_connection.post(url, params)
18
- if [201, 302, 303].include? response.status #success if it is a redirect or 201
19
- response.headers['Location']
20
- else
21
- raise 'FailedFileUpload'
22
- end
23
- end
15
+ def post_file(url, params, file_path)
16
+ params['Filename'] = File.basename(file_path)
17
+ params['file'] = Faraday::UploadIO.new(file_path, params['content-type'])
18
+ response = upload_connection.post(url, params)
19
+ if [201, 302, 303].include? response.status #success if it is a redirect or 201
20
+ response.headers['Location']
21
+ else
22
+ raise 'FailedFileUpload'
23
+ end
24
+ end
24
25
 
25
- def confirm_file_upload(url)
26
- uri = URI(url)
27
- query = uri.query
28
- query.blank? ? get(uri.path) : get(uri.path, CGI::parse(query))
29
- end
26
+ def confirm_file_upload(url)
27
+ uri = URI(url)
28
+ query = uri.query
29
+ query.blank? ? get(uri.path) : get(uri.path, CGI::parse(query))
30
+ end
30
31
 
31
- def upload_connection
32
- Faraday.new do |f|
33
- f.options[:open_timeout] = ENV.fetch('FARADAY_OPEN_TIMEOUT', 60).to_i
34
- f.options[:timeout] = ENV.fetch('FARADAY_TIMEOUT', 60).to_i
35
- f.request :multipart
36
- f.request :url_encoded
37
- f.adapter :net_http
32
+ def upload_connection
33
+ Faraday.new do |f|
34
+ f.options[:open_timeout] = ENV.fetch('FARADAY_OPEN_TIMEOUT', 60).to_i
35
+ f.options[:timeout] = ENV.fetch('FARADAY_TIMEOUT', 60).to_i
36
+ f.request :multipart
37
+ f.request :url_encoded
38
+ f.adapter :net_http
39
+ end
40
+ end
38
41
  end
39
42
  end
40
43
  end
@@ -0,0 +1,48 @@
1
+ module Bearcat
2
+ class Client < Footrest::Client
3
+ module OutcomeImports
4
+
5
+ def import_outcomes(file_path, params={})
6
+ params = params.with_indifferent_access
7
+ params['attachment'] = Faraday::UploadIO.new(file_path, 'text/csv')
8
+ url = "api/v1/#{outcome_import_context_slug(params)}"
9
+ url += "group/#{params[:group]}/" if params[:group].present?
10
+ params.delete(:group)
11
+ post(url, params)
12
+ end
13
+
14
+ def outcome_import_status(id, params={})
15
+ params = params.with_indifferent_access
16
+ get("api/v1/#{outcome_import_context_slug(params)}#{id}", params)
17
+ end
18
+
19
+ def outcome_import_created_group_ids(id, params={})
20
+ params = params.with_indifferent_access
21
+ get("api/v1/#{outcome_import_context_slug(params)}#{id}/created_group_ids", params)
22
+ end
23
+
24
+ protected
25
+
26
+ def outcome_import_context_slug(params)
27
+ context_hash = params.select { |k, _| k == "account" || k == "course" }
28
+
29
+ if context_hash.keys.count > 1
30
+ raise ArgumentError, "cannot have account and course in params"
31
+ elsif context_hash.empty?
32
+ "accounts/self/outcome_imports/"
33
+ else
34
+ context_hash_key = context_hash.keys.first
35
+ case context_hash_key
36
+ when 'account'
37
+ params.delete(:account)
38
+ "accounts/#{context_hash[context_hash_key]}/outcome_imports/"
39
+ when 'course'
40
+ params.delete(:course)
41
+ "courses/#{context_hash[context_hash_key]}/outcome_imports/"
42
+ end
43
+ end
44
+ end
45
+
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,15 @@
1
+ module Bearcat
2
+ class Client < Footrest::Client
3
+ module Tabs
4
+
5
+ def get_tabs(course, params={})
6
+ get("/api/v1/courses/#{course}/tabs", params)
7
+ end
8
+
9
+ def update_tab(id, course, params={})
10
+ put("/api/v1/courses/#{course}/tabs/#{id}", params)
11
+ end
12
+
13
+ end
14
+ end
15
+ end
@@ -5,87 +5,13 @@ require 'paul_walker'
5
5
  module Bearcat
6
6
  class Client < Footrest::Client
7
7
  require 'bearcat/api_array'
8
- require 'bearcat/client/file_helper'
9
- require 'bearcat/client/assignments'
10
- require 'bearcat/client/blueprint_courses'
11
- require 'bearcat/client/courses'
12
- require 'bearcat/client/enrollments'
13
- require 'bearcat/client/outcome_groups'
14
- require 'bearcat/client/outcomes'
15
- require 'bearcat/client/sections'
16
- require 'bearcat/client/o_auth2'
17
- require 'bearcat/client/groups'
18
- require 'bearcat/client/group_categories'
19
- require 'bearcat/client/group_memberships'
20
- require 'bearcat/client/conferences'
21
- require 'bearcat/client/users'
22
- require 'bearcat/client/reports'
23
- require 'bearcat/client/accounts'
24
- require 'bearcat/client/submissions'
25
- require 'bearcat/client/conversations'
26
- require 'bearcat/client/modules'
27
- require 'bearcat/client/canvas_files'
28
- require 'bearcat/client/calendar_events'
29
- require 'bearcat/client/discussions'
30
- require 'bearcat/client/search'
31
- require 'bearcat/client/quizzes'
32
- require 'bearcat/client/assignment_groups'
33
- require 'bearcat/client/pages'
34
- require 'bearcat/client/files'
35
- require 'bearcat/client/folders'
36
- require 'bearcat/client/graph_ql'
37
- require 'bearcat/client/analytics'
38
- require 'bearcat/client/module_items'
39
- require 'bearcat/client/content_migrations'
40
- require 'bearcat/client/content_exports'
41
- require 'bearcat/client/custom_gradebook_columns'
42
- require 'bearcat/client/external_tools'
43
- require 'bearcat/client/roles'
44
- require 'bearcat/client/rubric'
45
- require 'bearcat/client/rubric_assessment'
46
- require 'bearcat/client/rubric_association'
47
- require 'bearcat/client/progresses'
48
8
 
49
- include Assignments
50
- include Accounts
51
- include Analytics
52
- include BlueprintCourses
53
- include Courses
54
- include Enrollments
55
- include OutcomeGroups
56
- include Outcomes
57
- include Sections
58
- include OAuth2
59
- include Groups
60
- include GroupCategories
61
- include GroupMemberships
62
- include Conferences
63
- include Users
64
- include Reports
65
- include Submissions
66
- include Conversations
67
- include Modules
68
- include CanvasFiles
69
- include CalendarEvents
70
- include Discussions
71
- include FileHelper
72
- include Search
73
- include Quizzes
74
- include AssignmentGroups
75
- include Pages
76
- include Files
77
- include Folders
78
- include GraphQL
79
- include ModuleItems
80
- include ContentMigrations
81
- include ContentExports
82
- include CustomGradebookColumns
83
- include ExternalTools
84
- include Roles
85
- include Rubric
86
- include RubricAssessment
87
- include RubricAssociation
88
- include Progresses
9
+ Dir[File.join(__dir__, 'client', '*.rb')].each do |mod|
10
+ mname = File.basename(mod, '.*').camelize
11
+ mname = 'GraphQL' if mname == 'GraphQl'
12
+ require mod
13
+ include "Bearcat::Client::#{mname}".constantize
14
+ end
89
15
 
90
16
  # Override Footrest request for ApiArray support
91
17
  def request(method, &block)
@@ -7,13 +7,15 @@ require 'bearcat'
7
7
  # - `config.include Bearcat::SpecHelpers`
8
8
  # This helper requires `gem 'method_source'` in your test group
9
9
  module Bearcat::SpecHelpers
10
+ extend ActiveSupport::Concern
11
+
10
12
  SOURCE_REGEX = /(?<method>get|post|delete|put)\((?<quote>\\?('|"))(?<url>.*)\k<quote>/
11
13
 
12
14
  # Helper method to Stub Bearcat requests.
13
15
  # Automagically parses the Bearcat method source to determine the correct URL to stub.
14
16
  # Accepts optional keyword parameters to interpolate specific values into the URL.
15
17
  # Returns a mostly-normal Webmock stub (:to_return has been overridden to allow :body to be set to a Hash)
16
- def stub_bearcat(endpoint, prefix: nil, **kwargs)
18
+ def stub_bearcat(endpoint, prefix: nil, method: :auto, **kwargs)
17
19
  url = case endpoint
18
20
  when Symbol
19
21
  ruby_method = Bearcat::Client.instance_method(endpoint)
@@ -43,16 +45,26 @@ module Bearcat::SpecHelpers
43
45
  end
44
46
 
45
47
  url = Regexp.escape(resolve_prefix(prefix)) + url
46
- stub = stub_request(match[:method].to_sym, Regexp.new(url))
48
+ stub = stub_request(method == :auto ? (match ? match[:method].to_sym : :get) : method, Regexp.new(url))
47
49
 
48
50
  # Override the to_return method to accept a Hash as body:
49
- stub.define_singleton_method(:to_return, ->(*resps) {
50
- resps.map do |resp|
51
- resp[:headers] ||= {}
52
- resp[:headers]["Content-Type"] ||= "application/json"
53
- resp[:body] = resp[:body].to_json
51
+ stub.define_singleton_method(:to_return, ->(*resps, &blk) {
52
+ if blk
53
+ super do |*args|
54
+ resp = blk.call(*args)
55
+ resp[:headers] ||= {}
56
+ resp[:headers]["Content-Type"] ||= "application/json"
57
+ resp[:body] = resp[:body].to_json
58
+ resp
59
+ end
60
+ else
61
+ resps.map do |resp|
62
+ resp[:headers] ||= {}
63
+ resp[:headers]["Content-Type"] ||= "application/json"
64
+ resp[:body] = resp[:body].to_json
65
+ end
66
+ super(*resps)
54
67
  end
55
- super(*resps)
56
68
  })
57
69
 
58
70
  stub
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.4.7' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.4.10' unless defined?(Bearcat::VERSION)
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.7
4
+ version: 1.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Mills, Jake Sorce
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-26 00:00:00.000000000 Z
11
+ date: 2022-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -162,6 +162,7 @@ files:
162
162
  - lib/bearcat/client/modules.rb
163
163
  - lib/bearcat/client/o_auth2.rb
164
164
  - lib/bearcat/client/outcome_groups.rb
165
+ - lib/bearcat/client/outcome_imports.rb
165
166
  - lib/bearcat/client/outcomes.rb
166
167
  - lib/bearcat/client/pages.rb
167
168
  - lib/bearcat/client/progresses.rb
@@ -174,6 +175,7 @@ files:
174
175
  - lib/bearcat/client/search.rb
175
176
  - lib/bearcat/client/sections.rb
176
177
  - lib/bearcat/client/submissions.rb
178
+ - lib/bearcat/client/tabs.rb
177
179
  - lib/bearcat/client/users.rb
178
180
  - lib/bearcat/spec_helpers.rb
179
181
  - lib/bearcat/version.rb
@@ -363,10 +365,10 @@ files:
363
365
  - spec/fixtures/user_page_views.json
364
366
  - spec/fixtures/user_profile.json
365
367
  - spec/helper.rb
366
- homepage:
368
+ homepage:
367
369
  licenses: []
368
370
  metadata: {}
369
- post_install_message:
371
+ post_install_message:
370
372
  rdoc_options: []
371
373
  require_paths:
372
374
  - lib
@@ -381,194 +383,194 @@ required_rubygems_version: !ruby/object:Gem::Requirement
381
383
  - !ruby/object:Gem::Version
382
384
  version: '0'
383
385
  requirements: []
384
- rubygems_version: 3.1.2
385
- signing_key:
386
+ rubygems_version: 3.0.3
387
+ signing_key:
386
388
  specification_version: 4
387
389
  summary: Canvas API
388
390
  test_files:
389
391
  - spec/bearcat_spec.rb
392
+ - spec/helper.rb
390
393
  - spec/bearcat/client_spec.rb
391
- - spec/bearcat/group_memberships_spec.rb
392
394
  - spec/bearcat/api_array_spec.rb
393
- - spec/bearcat/client/canvas_files_spec.rb
394
- - spec/bearcat/client/folders_spec.rb
395
- - spec/bearcat/client/conferences_spec.rb
396
- - spec/bearcat/client/conversations_spec.rb
395
+ - spec/bearcat/client/external_tools_spec.rb
396
+ - spec/bearcat/client/groups_spec.rb
397
+ - spec/bearcat/client/outcomes_spec.rb
398
+ - spec/bearcat/client/submissions_spec.rb
399
+ - spec/bearcat/client/sections_spec.rb
400
+ - spec/bearcat/client/blueprint_courses_spec.rb
397
401
  - spec/bearcat/client/outcome_groups_spec.rb
398
- - spec/bearcat/client/assignment_groups_spec.rb
399
- - spec/bearcat/client/assignments_spec.rb
400
- - spec/bearcat/client/rubric_association_spec.rb
401
- - spec/bearcat/client/o_auth2_spec.rb
402
+ - spec/bearcat/client/quizzes_spec.rb
403
+ - spec/bearcat/client/conferences_spec.rb
402
404
  - spec/bearcat/client/search_spec.rb
403
- - spec/bearcat/client/calendar_events_spec.rb
404
- - spec/bearcat/client/pages_spec.rb
405
- - spec/bearcat/client/modules_spec.rb
406
- - spec/bearcat/client/discussions_spec.rb
407
- - spec/bearcat/client/files_spec.rb
408
- - spec/bearcat/client/roles_spec.rb
409
- - spec/bearcat/client/graph_ql_spec.rb
405
+ - spec/bearcat/client/reports_spec.rb
410
406
  - spec/bearcat/client/group_categories_spec.rb
411
- - spec/bearcat/client/rubric_assessment_spec.rb
412
- - spec/bearcat/client/blueprint_courses_spec.rb
413
- - spec/bearcat/client/submissions_spec.rb
414
- - spec/bearcat/client/module_items_spec.rb
415
407
  - spec/bearcat/client/content_migrations_spec.rb
416
- - spec/bearcat/client/custom_gradebook_columns_spec.rb
417
- - spec/bearcat/client/enrollments_spec.rb
408
+ - spec/bearcat/client/assignments_spec.rb
409
+ - spec/bearcat/client/group_membership_spec.rb
418
410
  - spec/bearcat/client/analytics_spec.rb
419
- - spec/bearcat/client/content_exports_spec.rb
420
- - spec/bearcat/client/external_tools_spec.rb
411
+ - spec/bearcat/client/module_items_spec.rb
412
+ - spec/bearcat/client/modules_spec.rb
413
+ - spec/bearcat/client/rubric_association_spec.rb
414
+ - spec/bearcat/client/roles_spec.rb
415
+ - spec/bearcat/client/rubric_assessment_spec.rb
416
+ - spec/bearcat/client/folders_spec.rb
421
417
  - spec/bearcat/client/rubric_spec.rb
418
+ - spec/bearcat/client/files_spec.rb
422
419
  - spec/bearcat/client/accounts_spec.rb
423
- - spec/bearcat/client/outcomes_spec.rb
420
+ - spec/bearcat/client/canvas_files_spec.rb
421
+ - spec/bearcat/client/pages_spec.rb
422
+ - spec/bearcat/client/content_exports_spec.rb
423
+ - spec/bearcat/client/graph_ql_spec.rb
424
+ - spec/bearcat/client/o_auth2_spec.rb
424
425
  - spec/bearcat/client/courses_spec.rb
425
- - spec/bearcat/client/reports_spec.rb
426
+ - spec/bearcat/client/custom_gradebook_columns_spec.rb
427
+ - spec/bearcat/client/enrollments_spec.rb
428
+ - spec/bearcat/client/conversations_spec.rb
426
429
  - spec/bearcat/client/users_spec.rb
427
- - spec/bearcat/client/sections_spec.rb
428
- - spec/bearcat/client/group_membership_spec.rb
429
- - spec/bearcat/client/groups_spec.rb
430
- - spec/bearcat/client/quizzes_spec.rb
431
- - spec/helper.rb
432
- - spec/fixtures/account_grading_standards.json
433
- - spec/fixtures/add_custom_user_data.json
430
+ - spec/bearcat/client/calendar_events_spec.rb
431
+ - spec/bearcat/client/assignment_groups_spec.rb
432
+ - spec/bearcat/client/discussions_spec.rb
433
+ - spec/bearcat/group_memberships_spec.rb
434
+ - spec/fixtures/add_user.json
435
+ - spec/fixtures/calendar_event.json
434
436
  - spec/fixtures/assignment_group.json
435
- - spec/fixtures/account_groups.json
436
- - spec/fixtures/update_outcome.json
437
- - spec/fixtures/section_enrollments.json
438
- - spec/fixtures/outcome_groups.json
439
- - spec/fixtures/assignments.json
440
- - spec/fixtures/course_files.json
441
- - spec/fixtures/assignment_section_override.json
442
- - spec/fixtures/delete_course.json
437
+ - spec/fixtures/outcome_result.json
438
+ - spec/fixtures/pages.json
439
+ - spec/fixtures/course_grading_standards.json
440
+ - spec/fixtures/user_avatars.json
441
+ - spec/fixtures/account_user.json
443
442
  - spec/fixtures/course_folder.json
444
- - spec/fixtures/ok.json
445
- - spec/fixtures/account_sub_accounts.json
446
- - spec/fixtures/course_sections.json
447
- - spec/fixtures/merge_user.json
448
- - spec/fixtures/bearcat.jpg
449
- - spec/fixtures/create_group_discussion.json
450
- - spec/fixtures/course_enrollments.json
451
- - spec/fixtures/account_users.json
452
- - spec/fixtures/no_custom_data.json
453
- - spec/fixtures/communication_channels.json
443
+ - spec/fixtures/rubric_association.json
444
+ - spec/fixtures/outcome_group_import.json
454
445
  - spec/fixtures/edited_group_category.json
455
- - spec/fixtures/rubric_assessment.json
456
- - spec/fixtures/paged_body.json
457
- - spec/fixtures/canvas_files/upload_success.json
458
- - spec/fixtures/canvas_files/declare_file.json
459
- - spec/fixtures/account_reports.json
460
- - spec/fixtures/outcomes.json
461
- - spec/fixtures/search_find_recipients.json
462
- - spec/fixtures/content_migration_files/upload_success.json
463
- - spec/fixtures/content_migration_files/content_migration.json
464
- - spec/fixtures/content_migration_files/response.json
465
- - spec/fixtures/created_assignment.json
466
- - spec/fixtures/course_conferences.json
467
- - spec/fixtures/create_outcome_in_group.json
468
- - spec/fixtures/delete_custom_data_scope.json
446
+ - spec/fixtures/course_copy.json
447
+ - spec/fixtures/single_account.json
448
+ - spec/fixtures/module.json
449
+ - spec/fixtures/blueprint_update_assocations_success.json
450
+ - spec/fixtures/account_admin_create.json
451
+ - spec/fixtures/cc.imscc
452
+ - spec/fixtures/discussion_topics.json
453
+ - spec/fixtures/account_sub_accounts.json
469
454
  - spec/fixtures/created_group_category.json
470
- - spec/fixtures/created_course.json
471
- - spec/fixtures/assignment_groups.json
472
- - spec/fixtures/section.json
473
- - spec/fixtures/create_section.json
474
455
  - spec/fixtures/user_page_views.json
475
- - spec/fixtures/account_admin_create.json
476
- - spec/fixtures/assignment.json
477
- - spec/fixtures/calendar_event.json
478
- - spec/fixtures/blueprint_subscriptions.json
479
- - spec/fixtures/blueprint_update_assocations_success.json
480
- - spec/fixtures/course.json
481
- - spec/fixtures/rubric_association.json
482
- - spec/fixtures/external_tools.json
456
+ - spec/fixtures/delete_custom_data_scope.json
457
+ - spec/fixtures/file.csv
458
+ - spec/fixtures/dashboard.json
459
+ - spec/fixtures/submissions/submission.json
460
+ - spec/fixtures/create_course_discussion.json
483
461
  - spec/fixtures/conversation.json
484
- - spec/fixtures/external_tool.json
485
- - spec/fixtures/course_students.json
486
- - spec/fixtures/updated_course.json
487
- - spec/fixtures/discussion_topics.json
488
- - spec/fixtures/user_enrollments.json
489
- - spec/fixtures/account_roles.json
490
- - spec/fixtures/add_user.json
491
- - spec/fixtures/discussion_entry_replies.json
492
- - spec/fixtures/report_history.json
462
+ - spec/fixtures/communication_channels.json
463
+ - spec/fixtures/account_users.json
464
+ - spec/fixtures/accounts.json
465
+ - spec/fixtures/deleted_group.json
466
+ - spec/fixtures/course_files.json
467
+ - spec/fixtures/group_membership.json
468
+ - spec/fixtures/content_migration_files/upload_success.json
469
+ - spec/fixtures/content_migration_files/response.json
470
+ - spec/fixtures/content_migration_files/content_migration.json
471
+ - spec/fixtures/outcome_subgroup.json
493
472
  - spec/fixtures/gradebook_history.json
494
- - spec/fixtures/account_sis_imports.json
473
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
474
+ - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
475
+ - spec/fixtures/custom_gradebook_columns/column_data.json
476
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
495
477
  - spec/fixtures/update_section.json
496
- - spec/fixtures/conclude_enrollment.json
497
- - spec/fixtures/start_report.json
498
- - spec/fixtures/custom_data.json
499
- - spec/fixtures/rubric.json
500
- - spec/fixtures/account_role.json
501
- - spec/fixtures/update_outcome_group.json
502
- - spec/fixtures/module_item.json
503
- - spec/fixtures/report_status.json
504
- - spec/fixtures/enroll_student.json
505
- - spec/fixtures/group_category.json
506
- - spec/fixtures/delete_group_category.json
507
- - spec/fixtures/dashboard.json
508
- - spec/fixtures/edited_group.json
509
- - spec/fixtures/department_level_participation.json
510
- - spec/fixtures/outcome_result.json
511
- - spec/fixtures/file.csv
512
- - spec/fixtures/course_copy.json
513
478
  - spec/fixtures/user_logins.json
514
- - spec/fixtures/module_item_sequence.json
515
- - spec/fixtures/enrollment_terms.json
516
- - spec/fixtures/blueprint_migration.json
517
- - spec/fixtures/cc.imscc
518
- - spec/fixtures/user_profile.json
519
- - spec/fixtures/create_course_discussion.json
520
- - spec/fixtures/custom_food_data.json
521
- - spec/fixtures/created_module.json
479
+ - spec/fixtures/paged_body.json
480
+ - spec/fixtures/outcomes.json
481
+ - spec/fixtures/discussion_entry_replies.json
522
482
  - spec/fixtures/course_groups.json
523
- - spec/fixtures/reactivate_enrollment.json
524
- - spec/fixtures/blueprint_template.json
525
- - spec/fixtures/account_courses.json
526
- - spec/fixtures/calendar_events.json
527
- - spec/fixtures/submissions/submission.json
483
+ - spec/fixtures/account_reports_start_result.json
484
+ - spec/fixtures/no_custom_data.json
485
+ - spec/fixtures/bearcat.jpg
486
+ - spec/fixtures/report_list.json
487
+ - spec/fixtures/graph_ql_scores.json
528
488
  - spec/fixtures/link_unlink_outcome.json
529
- - spec/fixtures/account_reports_index.json
489
+ - spec/fixtures/group_category_groups.json
490
+ - spec/fixtures/ok.json
491
+ - spec/fixtures/add_custom_user_data.json
492
+ - spec/fixtures/report_status.json
493
+ - spec/fixtures/account_role.json
494
+ - spec/fixtures/account_roles.json
495
+ - spec/fixtures/user_enrollments.json
496
+ - spec/fixtures/course_enrollments.json
530
497
  - spec/fixtures/module_items.json
531
- - spec/fixtures/access_token.json
532
- - spec/fixtures/progress.json
533
- - spec/fixtures/module.json
534
- - spec/fixtures/group_categories.json
535
- - spec/fixtures/course_folders.json
536
- - spec/fixtures/department_level_statistics.json
537
- - spec/fixtures/account_admin_delete.json
538
- - spec/fixtures/account_reports_result_success.json
539
- - spec/fixtures/deleted_conversation.json
540
- - spec/fixtures/user_details.json
541
- - spec/fixtures/outcome_group_import.json
542
- - spec/fixtures/modules.json
543
- - spec/fixtures/group.json
544
- - spec/fixtures/outcome_subgroup.json
498
+ - spec/fixtures/department_level_participation.json
499
+ - spec/fixtures/group_category.json
500
+ - spec/fixtures/section_enrollments.json
501
+ - spec/fixtures/create_group_discussion.json
502
+ - spec/fixtures/user_profile.json
503
+ - spec/fixtures/external_tools.json
504
+ - spec/fixtures/create_section.json
505
+ - spec/fixtures/assignment_groups.json
545
506
  - spec/fixtures/outcome_subgroups.json
546
- - spec/fixtures/delete_section.json
547
- - spec/fixtures/account_user.json
548
- - spec/fixtures/accounts.json
507
+ - spec/fixtures/updated_course.json
508
+ - spec/fixtures/account_sis_imports.json
549
509
  - spec/fixtures/account_admins.json
550
- - spec/fixtures/report_list.json
551
- - spec/fixtures/group_membership.json
552
- - spec/fixtures/quizzes/course_quizzes.json
553
- - spec/fixtures/quizzes/course_quiz_questions.json
554
- - spec/fixtures/quizzes/quiz_assignment_override.json
555
- - spec/fixtures/quizzes/quiz_extension.json
556
- - spec/fixtures/quizzes/course_quiz.json
510
+ - spec/fixtures/department_level_statistics.json
511
+ - spec/fixtures/course_folders.json
512
+ - spec/fixtures/account_admin_delete.json
557
513
  - spec/fixtures/content_export.json
558
- - spec/fixtures/created_group.json
559
- - spec/fixtures/pages.json
514
+ - spec/fixtures/enroll_student.json
515
+ - spec/fixtures/external_tool.json
560
516
  - spec/fixtures/discussion_entries.json
561
- - spec/fixtures/single_account.json
562
- - spec/fixtures/group_category_groups.json
517
+ - spec/fixtures/assignment.json
518
+ - spec/fixtures/report_history.json
519
+ - spec/fixtures/edited_group.json
520
+ - spec/fixtures/account_reports_index.json
521
+ - spec/fixtures/created_module.json
522
+ - spec/fixtures/account_reports.json
523
+ - spec/fixtures/quizzes/quiz_extension.json
524
+ - spec/fixtures/quizzes/quiz_assignment_override.json
525
+ - spec/fixtures/quizzes/course_quiz.json
526
+ - spec/fixtures/quizzes/course_quizzes.json
527
+ - spec/fixtures/quizzes/course_quiz_questions.json
528
+ - spec/fixtures/course.json
529
+ - spec/fixtures/search_find_recipients.json
530
+ - spec/fixtures/reactivate_enrollment.json
531
+ - spec/fixtures/enrollment_terms.json
563
532
  - spec/fixtures/created_group_membership.json
564
- - spec/fixtures/user_avatars.json
565
- - spec/fixtures/graph_ql_scores.json
566
- - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
567
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
568
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
569
- - spec/fixtures/custom_gradebook_columns/column_data.json
570
- - spec/fixtures/account_reports_start_result.json
571
- - spec/fixtures/course_grading_standards.json
533
+ - spec/fixtures/rubric.json
534
+ - spec/fixtures/merge_user.json
535
+ - spec/fixtures/section.json
536
+ - spec/fixtures/blueprint_migration.json
537
+ - spec/fixtures/blueprint_subscriptions.json
538
+ - spec/fixtures/create_outcome_in_group.json
539
+ - spec/fixtures/assignments.json
540
+ - spec/fixtures/group_categories.json
541
+ - spec/fixtures/blueprint_template.json
542
+ - spec/fixtures/delete_section.json
543
+ - spec/fixtures/update_outcome_group.json
572
544
  - spec/fixtures/group_conferences.json
545
+ - spec/fixtures/created_group.json
546
+ - spec/fixtures/outcome_groups.json
547
+ - spec/fixtures/progress.json
548
+ - spec/fixtures/delete_course.json
549
+ - spec/fixtures/canvas_files/upload_success.json
550
+ - spec/fixtures/canvas_files/declare_file.json
551
+ - spec/fixtures/account_grading_standards.json
552
+ - spec/fixtures/course_sections.json
553
+ - spec/fixtures/course_conferences.json
554
+ - spec/fixtures/user_details.json
555
+ - spec/fixtures/module_item_sequence.json
556
+ - spec/fixtures/custom_food_data.json
557
+ - spec/fixtures/update_outcome.json
573
558
  - spec/fixtures/discussion_topic.json
574
- - spec/fixtures/deleted_group.json
559
+ - spec/fixtures/group.json
560
+ - spec/fixtures/assignment_section_override.json
561
+ - spec/fixtures/account_reports_result_success.json
562
+ - spec/fixtures/rubric_assessment.json
563
+ - spec/fixtures/calendar_events.json
564
+ - spec/fixtures/deleted_conversation.json
565
+ - spec/fixtures/created_assignment.json
566
+ - spec/fixtures/start_report.json
567
+ - spec/fixtures/conclude_enrollment.json
568
+ - spec/fixtures/custom_data.json
569
+ - spec/fixtures/created_course.json
570
+ - spec/fixtures/account_groups.json
571
+ - spec/fixtures/modules.json
572
+ - spec/fixtures/course_students.json
573
+ - spec/fixtures/access_token.json
574
+ - spec/fixtures/delete_group_category.json
575
+ - spec/fixtures/module_item.json
576
+ - spec/fixtures/account_courses.json