bearcat 1.6.12 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f52b8360f7ce34fd388a13bb54935a02f659eb85f283d99f2afcfadb8c2ad2fa
4
- data.tar.gz: d22ffcf503be32f35771341fc2183bde298a1f9802172efba7ba5d1813ec7725
3
+ metadata.gz: ff6d6d1426d021f6c2e7146de2884ecd9eb721b5529e56e49e25e82332dc3ddf
4
+ data.tar.gz: c59d392750a2b15b877c47efd96c317ce65299089aab856fa0944a0da5601cfe
5
5
  SHA512:
6
- metadata.gz: 947870a0adcbde03d22ed11db07c853f03d7236376d04b9f4a138e7f3033c65470ea68c9216f0689361af969560c575675940a6d15e7a59c1d6f570318060ae7
7
- data.tar.gz: 200a1712dbb4449d892fa8821efecf6208fc72f931205fd9ff48b6f955cccfbcc6d62cf365a41cd5042927705ce36ee7b2e78216f271632225ac14dd3b62d68a
6
+ metadata.gz: 359e37b3e095419a8d74276b06dfeb2b41e5c68b5a19e4bd8c846abb5442e0dd0453738ceac3f121dd81099ee75b89c9ce8b3c01126f6e5327c5ef661d1743b2
7
+ data.tar.gz: 8f15f81e9d1ac4392104c4b8d3e65936ccfe4eeff9cf39ae77407086a8418eb82513ee984fc923e7a50b4169a8ee63c5795c4fa3768575119e8986a0d1264887
data/bearcat.gemspec CHANGED
@@ -26,14 +26,16 @@ Gem::Specification.new do |gem|
26
26
 
27
27
  gem.add_development_dependency "rake"
28
28
  gem.add_development_dependency "bundler", ">= 1.0.0"
29
- gem.add_development_dependency "rspec", "~> 2.6"
29
+ gem.add_development_dependency "rspec", "~> 3.13"
30
30
  gem.add_development_dependency "webmock"
31
31
  gem.add_development_dependency 'pry'
32
32
  gem.add_development_dependency 'sidekiq', "< 7.0"
33
33
  gem.add_development_dependency "ffi", "~> 1.16.3"
34
+ gem.add_development_dependency "appraisal", "~> 2.5"
34
35
 
35
36
  gem.add_dependency "activesupport"
36
- gem.add_dependency "faraday", "> 1.0", "< 2.0"
37
- gem.add_dependency "footrest", ">= 0.2.2"
37
+ gem.add_dependency "faraday", ">= 1.0", "< 3"
38
+ gem.add_dependency "faraday-multipart", "~> 1.0"
39
+ gem.add_dependency "footrest", ">= 0.6.1"
38
40
  gem.add_dependency "rediconn", "~> 0.1.0"
39
41
  end
@@ -1,4 +1,5 @@
1
1
  require 'active_support/core_ext/module'
2
+ require 'cgi' # for CGI.parse; no longer loaded transitively by activesupport 8
2
3
 
3
4
  module Bearcat
4
5
  class ApiArray
@@ -14,7 +14,7 @@ module Bearcat
14
14
 
15
15
  def post_file(url, params, file_path)
16
16
  params['Filename'] = File.basename(file_path)
17
- params['file'] = Faraday::UploadIO.new(file_path, params['content-type'])
17
+ params['file'] = upload_io(file_path, params['content-type'])
18
18
  response = upload_connection.post(url, params)
19
19
  if [201, 302, 303].include? response.status #success if it is a redirect or 201
20
20
  response.headers['Location']
@@ -4,7 +4,7 @@ module Bearcat
4
4
 
5
5
  def import_outcomes(file_path, params={})
6
6
  params = params.with_indifferent_access
7
- params['attachment'] = Faraday::UploadIO.new(file_path, 'text/csv')
7
+ params['attachment'] = upload_io(file_path, 'text/csv')
8
8
  url = "api/v1/#{outcome_import_context_slug(params)}"
9
9
  url += "group/#{params[:group]}/" if params[:group].present?
10
10
  params.delete(:group)
@@ -2,7 +2,7 @@ module Bearcat
2
2
  class Client < Footrest::Client
3
3
  module SisImports
4
4
  def import_sis_data(account, file, options = {}, content_type: nil)
5
- options['attachment'] = Faraday::UploadIO.new(file, content_type || "application/zip")
5
+ options['attachment'] = upload_io(file, content_type || "application/zip")
6
6
  post("/api/v1/accounts/#{account}/sis_imports", options)
7
7
  end
8
8
 
@@ -1,4 +1,6 @@
1
1
  require 'active_support/core_ext/hash'
2
+ require 'faraday'
3
+ require 'faraday/multipart'
2
4
  require 'footrest/client'
3
5
  require_relative 'rate_limiting'
4
6
  require_relative 'client_module'
@@ -75,6 +77,18 @@ module Bearcat
75
77
  connection.builder.delete(Faraday::Request::UrlEncoded)
76
78
  end
77
79
 
80
+ # Builds a multipart file part for uploads, bridging Faraday 1.x and 2.x.
81
+ # Faraday 2.x dropped Faraday::UploadIO in favor of
82
+ # Faraday::Multipart::FilePart (from the faraday-multipart gem). Both accept
83
+ # the same (path_or_io, content_type) signature.
84
+ def upload_io(path_or_io, content_type)
85
+ if defined?(Faraday::Multipart::FilePart)
86
+ Faraday::Multipart::FilePart.new(path_or_io, content_type)
87
+ else
88
+ Faraday::UploadIO.new(path_or_io, content_type)
89
+ end
90
+ end
91
+
78
92
  def self.cache_on_self(key, &block)
79
93
  @cache ||= {}
80
94
  if Rails.env.development? || Rails.env.test?
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '1.6.12' unless defined?(Bearcat::VERSION)
2
+ VERSION = '1.7.0' unless defined?(Bearcat::VERSION)
3
3
  end
@@ -28,24 +28,24 @@ describe Bearcat::ApiArray do
28
28
  end
29
29
 
30
30
  it 'gets a page of results' do
31
- expect(request).to receive(:url).with('https://fake.com', 'page' => '2')
31
+ expect(request).to receive(:url).with('https://fake.com', { 'page' => '2' })
32
32
  api_array.send(:get_page, 'https://fake.com?page=2', {})
33
33
  end
34
34
 
35
35
  it 'merges additonal params to the url query' do
36
- expect(request).to receive(:url).with('https://fake.com', 'test' => 'param', 'page' => 2)
37
- api_array.send(:get_page, 'https://fake.com?test=param', 'page' => 2)
36
+ expect(request).to receive(:url).with('https://fake.com', { 'test' => 'param', 'page' => 2 })
37
+ api_array.send(:get_page, 'https://fake.com?test=param', { 'page' => 2 })
38
38
  end
39
39
 
40
40
  it 'handles array parameters' do
41
- expect(request).to receive(:url).with('https://fake.com', 'test' => ['param'], 'second' => ['param'])
42
- api_array.send(:get_page, 'https://fake.com?test%5B%5D=param', 'second' => ['param'])
41
+ expect(request).to receive(:url).with('https://fake.com', { 'test' => ['param'], 'second' => ['param'] })
42
+ api_array.send(:get_page, 'https://fake.com?test%5B%5D=param', { 'second' => ['param'] })
43
43
  end
44
44
 
45
45
  it 'sets the per_page parameter if not already set and @page_count has a value' do
46
46
  api_array.instance_variable_set('@page_count', 50)
47
47
 
48
- expect(request).to receive(:url).with('https://fake.com', 'per_page' => 50)
48
+ expect(request).to receive(:url).with('https://fake.com', { 'per_page' => 50 })
49
49
  api_array.send(:get_page, 'https://fake.com?', {})
50
50
  end
51
51
 
@@ -59,8 +59,8 @@ describe Bearcat::ApiArray do
59
59
  it 'does not set the per_page parameter if it is already set' do
60
60
  api_array.instance_variable_set('@page_count', 50)
61
61
 
62
- expect(request).to receive(:url).with('https://fake.com', 'per_page' => 10)
63
- api_array.send(:get_page, 'https://fake.com?', 'per_page' => 10)
62
+ expect(request).to receive(:url).with('https://fake.com', { 'per_page' => 10 })
63
+ api_array.send(:get_page, 'https://fake.com?', { 'per_page' => 10 })
64
64
  end
65
65
  end
66
66
 
data/spec/helper.rb CHANGED
@@ -8,6 +8,13 @@ require 'csv'
8
8
 
9
9
  WebMock.disable_net_connect!
10
10
 
11
+ RSpec.configure do |config|
12
+ # The suite mixes the older `should`/`stub` syntax with newer `expect`;
13
+ # enable both explicitly so RSpec 3 runs them without deprecation noise.
14
+ config.expect_with(:rspec) { |c| c.syntax = %i[should expect] }
15
+ config.mock_with(:rspec) { |c| c.syntax = %i[should expect] }
16
+ end
17
+
11
18
  def fixture(*file)
12
19
  File.new(File.join(File.expand_path("../fixtures", __FILE__), *file))
13
20
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.12
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure CustomDev
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-05-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -44,14 +43,14 @@ dependencies:
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: '2.6'
46
+ version: '3.13'
48
47
  type: :development
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: '2.6'
53
+ version: '3.13'
55
54
  - !ruby/object:Gem::Dependency
56
55
  name: webmock
57
56
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +107,20 @@ dependencies:
108
107
  - - "~>"
109
108
  - !ruby/object:Gem::Version
110
109
  version: 1.16.3
110
+ - !ruby/object:Gem::Dependency
111
+ name: appraisal
112
+ requirement: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '2.5'
117
+ type: :development
118
+ prerelease: false
119
+ version_requirements: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '2.5'
111
124
  - !ruby/object:Gem::Dependency
112
125
  name: activesupport
113
126
  requirement: !ruby/object:Gem::Requirement
@@ -126,36 +139,50 @@ dependencies:
126
139
  name: faraday
127
140
  requirement: !ruby/object:Gem::Requirement
128
141
  requirements:
129
- - - ">"
142
+ - - ">="
130
143
  - !ruby/object:Gem::Version
131
144
  version: '1.0'
132
145
  - - "<"
133
146
  - !ruby/object:Gem::Version
134
- version: '2.0'
147
+ version: '3'
135
148
  type: :runtime
136
149
  prerelease: false
137
150
  version_requirements: !ruby/object:Gem::Requirement
138
151
  requirements:
139
- - - ">"
152
+ - - ">="
140
153
  - !ruby/object:Gem::Version
141
154
  version: '1.0'
142
155
  - - "<"
143
156
  - !ruby/object:Gem::Version
144
- version: '2.0'
157
+ version: '3'
158
+ - !ruby/object:Gem::Dependency
159
+ name: faraday-multipart
160
+ requirement: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '1.0'
165
+ type: :runtime
166
+ prerelease: false
167
+ version_requirements: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - "~>"
170
+ - !ruby/object:Gem::Version
171
+ version: '1.0'
145
172
  - !ruby/object:Gem::Dependency
146
173
  name: footrest
147
174
  requirement: !ruby/object:Gem::Requirement
148
175
  requirements:
149
176
  - - ">="
150
177
  - !ruby/object:Gem::Version
151
- version: 0.2.2
178
+ version: 0.6.1
152
179
  type: :runtime
153
180
  prerelease: false
154
181
  version_requirements: !ruby/object:Gem::Requirement
155
182
  requirements:
156
183
  - - ">="
157
184
  - !ruby/object:Gem::Version
158
- version: 0.2.2
185
+ version: 0.6.1
159
186
  - !ruby/object:Gem::Dependency
160
187
  name: rediconn
161
188
  requirement: !ruby/object:Gem::Requirement
@@ -473,10 +500,8 @@ files:
473
500
  - spec/fixtures/user_page_views.json
474
501
  - spec/fixtures/user_profile.json
475
502
  - spec/helper.rb
476
- homepage:
477
503
  licenses: []
478
504
  metadata: {}
479
- post_install_message:
480
505
  rdoc_options: []
481
506
  require_paths:
482
507
  - lib
@@ -491,228 +516,227 @@ required_rubygems_version: !ruby/object:Gem::Requirement
491
516
  - !ruby/object:Gem::Version
492
517
  version: '0'
493
518
  requirements: []
494
- rubygems_version: 3.1.6
495
- signing_key:
519
+ rubygems_version: 3.6.9
496
520
  specification_version: 4
497
521
  summary: Canvas API
498
522
  test_files:
499
- - spec/bearcat_spec.rb
500
- - spec/bearcat/client_spec.rb
523
+ - spec/badgrcat/client_spec.rb
501
524
  - spec/bearcat/api_array_spec.rb
502
- - spec/bearcat/rate_limiting_spec.rb
503
- - spec/bearcat/stub_bearcat_spec.rb
504
- - spec/bearcat/client/canvas_files_spec.rb
505
- - spec/bearcat/client/folders_spec.rb
506
- - spec/bearcat/client/new_quizzes_spec.rb
507
- - spec/bearcat/client/conferences_spec.rb
508
- - spec/bearcat/client/conversations_spec.rb
509
- - spec/bearcat/client/outcome_groups_spec.rb
525
+ - spec/bearcat/client/accounts_spec.rb
526
+ - spec/bearcat/client/analytics_spec.rb
510
527
  - spec/bearcat/client/assignment_groups_spec.rb
511
528
  - spec/bearcat/client/assignments_spec.rb
512
- - spec/bearcat/client/rubric_association_spec.rb
513
- - spec/bearcat/client/o_auth2_spec.rb
514
- - spec/bearcat/client/search_spec.rb
515
- - spec/bearcat/client/calendar_events_spec.rb
516
- - spec/bearcat/client/group_memberships_spec.rb
517
- - spec/bearcat/client/pages_spec.rb
518
- - spec/bearcat/client/modules_spec.rb
519
- - spec/bearcat/client/discussions_spec.rb
520
- - spec/bearcat/client/files_spec.rb
521
- - spec/bearcat/client/roles_spec.rb
522
- - spec/bearcat/client/graph_ql_spec.rb
523
- - spec/bearcat/client/group_categories_spec.rb
524
- - spec/bearcat/client/rubric_assessment_spec.rb
525
529
  - spec/bearcat/client/blueprint_courses_spec.rb
526
- - spec/bearcat/client/submissions_spec.rb
527
- - spec/bearcat/client/module_items_spec.rb
530
+ - spec/bearcat/client/calendar_events_spec.rb
531
+ - spec/bearcat/client/canvas_files_spec.rb
532
+ - spec/bearcat/client/conferences_spec.rb
533
+ - spec/bearcat/client/content_exports_spec.rb
528
534
  - spec/bearcat/client/content_migrations_spec.rb
535
+ - spec/bearcat/client/conversations_spec.rb
536
+ - spec/bearcat/client/courses_spec.rb
529
537
  - spec/bearcat/client/custom_gradebook_columns_spec.rb
538
+ - spec/bearcat/client/discussions_spec.rb
530
539
  - spec/bearcat/client/enrollments_spec.rb
531
- - spec/bearcat/client/analytics_spec.rb
532
- - spec/bearcat/client/content_exports_spec.rb
533
540
  - spec/bearcat/client/external_tools_spec.rb
534
- - spec/bearcat/client/rubric_spec.rb
535
- - spec/bearcat/client/accounts_spec.rb
541
+ - spec/bearcat/client/files_spec.rb
542
+ - spec/bearcat/client/folders_spec.rb
543
+ - spec/bearcat/client/graph_ql_spec.rb
544
+ - spec/bearcat/client/group_categories_spec.rb
545
+ - spec/bearcat/client/group_membership_spec.rb
546
+ - spec/bearcat/client/group_memberships_spec.rb
547
+ - spec/bearcat/client/groups_spec.rb
536
548
  - spec/bearcat/client/learning_outcomes_spec.rb
549
+ - spec/bearcat/client/module_items_spec.rb
550
+ - spec/bearcat/client/modules_spec.rb
551
+ - spec/bearcat/client/new_quizzes_spec.rb
552
+ - spec/bearcat/client/o_auth2_spec.rb
553
+ - spec/bearcat/client/outcome_groups_spec.rb
537
554
  - spec/bearcat/client/outcomes_spec.rb
538
- - spec/bearcat/client/courses_spec.rb
555
+ - spec/bearcat/client/pages_spec.rb
556
+ - spec/bearcat/client/quizzes_spec.rb
539
557
  - spec/bearcat/client/reports_spec.rb
540
- - spec/bearcat/client/users_spec.rb
558
+ - spec/bearcat/client/roles_spec.rb
559
+ - spec/bearcat/client/rubric_assessment_spec.rb
560
+ - spec/bearcat/client/rubric_association_spec.rb
561
+ - spec/bearcat/client/rubric_spec.rb
562
+ - spec/bearcat/client/search_spec.rb
541
563
  - spec/bearcat/client/sections_spec.rb
542
- - spec/bearcat/client/group_membership_spec.rb
543
- - spec/bearcat/client/groups_spec.rb
544
- - spec/bearcat/client/quizzes_spec.rb
545
- - spec/helper.rb
546
- - spec/badgrcat/client_spec.rb
564
+ - spec/bearcat/client/submissions_spec.rb
565
+ - spec/bearcat/client/users_spec.rb
566
+ - spec/bearcat/client_spec.rb
567
+ - spec/bearcat/rate_limiting_spec.rb
568
+ - spec/bearcat/stub_bearcat_spec.rb
569
+ - spec/bearcat_spec.rb
570
+ - spec/fixtures/access_token.json
571
+ - spec/fixtures/account_admin_create.json
572
+ - spec/fixtures/account_admin_delete.json
573
+ - spec/fixtures/account_admins.json
574
+ - spec/fixtures/account_courses.json
547
575
  - spec/fixtures/account_grading_standards.json
576
+ - spec/fixtures/account_groups.json
577
+ - spec/fixtures/account_reports.json
578
+ - spec/fixtures/account_reports_index.json
579
+ - spec/fixtures/account_reports_result_success.json
580
+ - spec/fixtures/account_reports_start_result.json
581
+ - spec/fixtures/account_role.json
582
+ - spec/fixtures/account_roles.json
583
+ - spec/fixtures/account_sis_imports.json
584
+ - spec/fixtures/account_sub_accounts.json
585
+ - spec/fixtures/account_user.json
586
+ - spec/fixtures/account_users.json
587
+ - spec/fixtures/accounts.json
548
588
  - spec/fixtures/add_custom_user_data.json
589
+ - spec/fixtures/add_user.json
590
+ - spec/fixtures/assignment.json
549
591
  - spec/fixtures/assignment_group.json
550
- - spec/fixtures/account_groups.json
551
- - spec/fixtures/update_outcome.json
552
- - spec/fixtures/section_enrollments.json
553
- - spec/fixtures/outcome_groups.json
554
- - spec/fixtures/assignments.json
555
- - spec/fixtures/deleted_page.json
556
- - spec/fixtures/course_files.json
592
+ - spec/fixtures/assignment_groups.json
557
593
  - spec/fixtures/assignment_section_override.json
558
- - spec/fixtures/delete_course.json
559
- - spec/fixtures/course_folder.json
560
- - spec/fixtures/ok.json
561
- - spec/fixtures/account_sub_accounts.json
562
- - spec/fixtures/course_sections.json
563
- - spec/fixtures/merge_user.json
594
+ - spec/fixtures/assignments.json
564
595
  - spec/fixtures/bearcat.jpg
565
- - spec/fixtures/create_group_discussion.json
566
- - spec/fixtures/course_enrollments.json
567
- - spec/fixtures/account_users.json
568
- - spec/fixtures/no_custom_data.json
569
- - spec/fixtures/communication_channels.json
570
- - spec/fixtures/edited_group_category.json
571
- - spec/fixtures/rubric_assessment.json
572
- - spec/fixtures/paged_body.json
573
- - spec/fixtures/canvas_files/upload_success.json
596
+ - spec/fixtures/blueprint_migration.json
597
+ - spec/fixtures/blueprint_subscriptions.json
598
+ - spec/fixtures/blueprint_template.json
599
+ - spec/fixtures/blueprint_update_assocations_success.json
600
+ - spec/fixtures/calendar_event.json
601
+ - spec/fixtures/calendar_events.json
574
602
  - spec/fixtures/canvas_files/declare_file.json
575
- - spec/fixtures/account_reports.json
576
- - spec/fixtures/outcomes.json
577
- - spec/fixtures/search_find_recipients.json
578
- - spec/fixtures/content_migration_files/upload_success.json
603
+ - spec/fixtures/canvas_files/upload_success.json
604
+ - spec/fixtures/cc.imscc
605
+ - spec/fixtures/communication_channels.json
606
+ - spec/fixtures/conclude_enrollment.json
607
+ - spec/fixtures/content_export.json
579
608
  - spec/fixtures/content_migration_files/content_migration.json
580
609
  - spec/fixtures/content_migration_files/response.json
581
- - spec/fixtures/updated_page.json
582
- - spec/fixtures/created_assignment.json
610
+ - spec/fixtures/content_migration_files/upload_success.json
611
+ - spec/fixtures/conversation.json
612
+ - spec/fixtures/course.json
583
613
  - spec/fixtures/course_conferences.json
614
+ - spec/fixtures/course_copy.json
615
+ - spec/fixtures/course_enrollments.json
616
+ - spec/fixtures/course_files.json
617
+ - spec/fixtures/course_folder.json
618
+ - spec/fixtures/course_folders.json
619
+ - spec/fixtures/course_grading_standards.json
620
+ - spec/fixtures/course_groups.json
621
+ - spec/fixtures/course_sections.json
622
+ - spec/fixtures/course_settings.json
623
+ - spec/fixtures/course_students.json
624
+ - spec/fixtures/create_course_discussion.json
625
+ - spec/fixtures/create_group_discussion.json
584
626
  - spec/fixtures/create_outcome_in_group.json
585
- - spec/fixtures/delete_custom_data_scope.json
586
- - spec/fixtures/created_group_category.json
587
- - spec/fixtures/created_course.json
588
- - spec/fixtures/assignment_groups.json
589
- - spec/fixtures/section.json
590
627
  - spec/fixtures/create_section.json
591
- - spec/fixtures/user_page_views.json
592
- - spec/fixtures/account_admin_create.json
593
- - spec/fixtures/assignment.json
594
- - spec/fixtures/calendar_event.json
595
- - spec/fixtures/blueprint_subscriptions.json
596
- - spec/fixtures/blueprint_update_assocations_success.json
597
- - spec/fixtures/course.json
598
- - spec/fixtures/rubric_association.json
599
- - spec/fixtures/external_tools.json
600
- - spec/fixtures/conversation.json
601
- - spec/fixtures/external_tool.json
602
- - spec/fixtures/course_students.json
603
- - spec/fixtures/updated_course.json
604
- - spec/fixtures/discussion_topics.json
628
+ - spec/fixtures/created_assignment.json
629
+ - spec/fixtures/created_course.json
630
+ - spec/fixtures/created_group.json
631
+ - spec/fixtures/created_group_category.json
632
+ - spec/fixtures/created_group_membership.json
633
+ - spec/fixtures/created_module.json
605
634
  - spec/fixtures/created_sub_account.json
606
- - spec/fixtures/user_enrollments.json
607
- - spec/fixtures/account_roles.json
608
- - spec/fixtures/add_user.json
635
+ - spec/fixtures/custom_data.json
636
+ - spec/fixtures/custom_food_data.json
637
+ - spec/fixtures/custom_gradebook_columns/column_data.json
638
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
639
+ - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
640
+ - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
641
+ - spec/fixtures/dashboard.json
642
+ - spec/fixtures/delete_course.json
643
+ - spec/fixtures/delete_custom_data_scope.json
644
+ - spec/fixtures/delete_group_category.json
645
+ - spec/fixtures/delete_section.json
646
+ - spec/fixtures/deleted_conversation.json
647
+ - spec/fixtures/deleted_group.json
648
+ - spec/fixtures/deleted_page.json
649
+ - spec/fixtures/deleted_sub_account.json
650
+ - spec/fixtures/department_level_participation.json
651
+ - spec/fixtures/department_level_statistics.json
652
+ - spec/fixtures/discussion_entries.json
609
653
  - spec/fixtures/discussion_entry_replies.json
610
- - spec/fixtures/report_history.json
654
+ - spec/fixtures/discussion_topic.json
655
+ - spec/fixtures/discussion_topics.json
656
+ - spec/fixtures/edited_group.json
657
+ - spec/fixtures/edited_group_category.json
658
+ - spec/fixtures/enroll_student.json
659
+ - spec/fixtures/enrollment_terms.json
660
+ - spec/fixtures/external_tool.json
661
+ - spec/fixtures/external_tools.json
662
+ - spec/fixtures/file.csv
611
663
  - spec/fixtures/gradebook_history.json
612
- - spec/fixtures/account_sis_imports.json
613
- - spec/fixtures/update_section.json
614
- - spec/fixtures/conclude_enrollment.json
615
- - spec/fixtures/start_report.json
616
- - spec/fixtures/custom_data.json
617
- - spec/fixtures/rubric.json
618
- - spec/fixtures/account_role.json
619
- - spec/fixtures/update_outcome_group.json
664
+ - spec/fixtures/graph_ql_scores.json
665
+ - spec/fixtures/group.json
666
+ - spec/fixtures/group_categories.json
667
+ - spec/fixtures/group_category.json
668
+ - spec/fixtures/group_category_groups.json
669
+ - spec/fixtures/group_conferences.json
670
+ - spec/fixtures/group_membership.json
671
+ - spec/fixtures/learning_outcome.json
672
+ - spec/fixtures/link_unlink_outcome.json
673
+ - spec/fixtures/merge_user.json
674
+ - spec/fixtures/module.json
620
675
  - spec/fixtures/module_item.json
621
- - spec/fixtures/report_status.json
622
- - spec/fixtures/new_quizzes/new_quiz_item_fill_in_multiple_blanks.json
676
+ - spec/fixtures/module_item_sequence.json
677
+ - spec/fixtures/module_items.json
678
+ - spec/fixtures/modules.json
679
+ - spec/fixtures/new_quizzes/course_new_quiz.json
623
680
  - spec/fixtures/new_quizzes/course_new_quizzes.json
624
- - spec/fixtures/new_quizzes/new_quiz_submission.json
625
- - spec/fixtures/new_quizzes/new_quiz_item_stimulus.json
626
- - spec/fixtures/new_quizzes/new_quiz_items.json
627
- - spec/fixtures/new_quizzes/new_quiz_item_formula.json
628
- - spec/fixtures/new_quizzes/new_quiz_item_short_answer.json
629
- - spec/fixtures/new_quizzes/new_quiz_item_ordering.json
681
+ - spec/fixtures/new_quizzes/new_quiz_item.json
630
682
  - spec/fixtures/new_quizzes/new_quiz_item_categorization.json
631
- - spec/fixtures/new_quizzes/new_quiz_report.json
632
- - spec/fixtures/new_quizzes/new_quiz_item_true_false.json
633
- - spec/fixtures/new_quizzes/new_quiz_submissions.json
634
- - spec/fixtures/new_quizzes/new_quiz_reports.json
635
- - spec/fixtures/new_quizzes/new_quiz_item_matching.json
683
+ - spec/fixtures/new_quizzes/new_quiz_item_essay.json
684
+ - spec/fixtures/new_quizzes/new_quiz_item_file_upload.json
685
+ - spec/fixtures/new_quizzes/new_quiz_item_fill_in_multiple_blanks.json
686
+ - spec/fixtures/new_quizzes/new_quiz_item_formula.json
636
687
  - spec/fixtures/new_quizzes/new_quiz_item_hot_spot.json
688
+ - spec/fixtures/new_quizzes/new_quiz_item_matching.json
637
689
  - spec/fixtures/new_quizzes/new_quiz_item_multiple_answer.json
638
- - spec/fixtures/new_quizzes/new_quiz_item.json
639
690
  - spec/fixtures/new_quizzes/new_quiz_item_numeric.json
640
- - spec/fixtures/new_quizzes/new_quiz_item_essay.json
641
- - spec/fixtures/new_quizzes/new_quiz_item_file_upload.json
642
- - spec/fixtures/new_quizzes/course_new_quiz.json
643
- - spec/fixtures/enroll_student.json
644
- - spec/fixtures/group_category.json
645
- - spec/fixtures/delete_group_category.json
646
- - spec/fixtures/dashboard.json
647
- - spec/fixtures/edited_group.json
648
- - spec/fixtures/department_level_participation.json
649
- - spec/fixtures/outcome_result.json
650
- - spec/fixtures/file.csv
651
- - spec/fixtures/course_copy.json
652
- - spec/fixtures/user_logins.json
653
- - spec/fixtures/module_item_sequence.json
654
- - spec/fixtures/course_settings.json
655
- - spec/fixtures/enrollment_terms.json
656
- - spec/fixtures/blueprint_migration.json
657
- - spec/fixtures/cc.imscc
658
- - spec/fixtures/user_profile.json
659
- - spec/fixtures/create_course_discussion.json
660
- - spec/fixtures/custom_food_data.json
661
- - spec/fixtures/created_module.json
662
- - spec/fixtures/course_groups.json
663
- - spec/fixtures/reactivate_enrollment.json
664
- - spec/fixtures/blueprint_template.json
665
- - spec/fixtures/account_courses.json
666
- - spec/fixtures/calendar_events.json
667
- - spec/fixtures/submissions/submission.json
668
- - spec/fixtures/link_unlink_outcome.json
669
- - spec/fixtures/account_reports_index.json
670
- - spec/fixtures/module_items.json
671
- - spec/fixtures/access_token.json
672
- - spec/fixtures/progress.json
673
- - spec/fixtures/module.json
674
- - spec/fixtures/deleted_sub_account.json
675
- - spec/fixtures/group_categories.json
676
- - spec/fixtures/course_folders.json
677
- - spec/fixtures/department_level_statistics.json
678
- - spec/fixtures/account_admin_delete.json
679
- - spec/fixtures/account_reports_result_success.json
680
- - spec/fixtures/deleted_conversation.json
681
- - spec/fixtures/learning_outcome.json
682
- - spec/fixtures/user_details.json
691
+ - spec/fixtures/new_quizzes/new_quiz_item_ordering.json
692
+ - spec/fixtures/new_quizzes/new_quiz_item_short_answer.json
693
+ - spec/fixtures/new_quizzes/new_quiz_item_stimulus.json
694
+ - spec/fixtures/new_quizzes/new_quiz_item_true_false.json
695
+ - spec/fixtures/new_quizzes/new_quiz_items.json
696
+ - spec/fixtures/new_quizzes/new_quiz_report.json
697
+ - spec/fixtures/new_quizzes/new_quiz_reports.json
698
+ - spec/fixtures/new_quizzes/new_quiz_submission.json
699
+ - spec/fixtures/new_quizzes/new_quiz_submissions.json
700
+ - spec/fixtures/no_custom_data.json
701
+ - spec/fixtures/ok.json
683
702
  - spec/fixtures/outcome_group_import.json
684
- - spec/fixtures/modules.json
685
- - spec/fixtures/group.json
703
+ - spec/fixtures/outcome_groups.json
704
+ - spec/fixtures/outcome_result.json
686
705
  - spec/fixtures/outcome_subgroup.json
687
- - spec/fixtures/sub_account.json
688
706
  - spec/fixtures/outcome_subgroups.json
689
- - spec/fixtures/delete_section.json
690
- - spec/fixtures/account_user.json
691
- - spec/fixtures/accounts.json
692
- - spec/fixtures/account_admins.json
693
- - spec/fixtures/report_list.json
694
- - spec/fixtures/group_membership.json
695
- - spec/fixtures/quizzes/course_quizzes.json
707
+ - spec/fixtures/outcomes.json
708
+ - spec/fixtures/paged_body.json
709
+ - spec/fixtures/pages.json
710
+ - spec/fixtures/progress.json
711
+ - spec/fixtures/quizzes/course_quiz.json
696
712
  - spec/fixtures/quizzes/course_quiz_questions.json
713
+ - spec/fixtures/quizzes/course_quizzes.json
697
714
  - spec/fixtures/quizzes/quiz_assignment_override.json
698
715
  - spec/fixtures/quizzes/quiz_extension.json
699
- - spec/fixtures/quizzes/course_quiz.json
700
- - spec/fixtures/updated_sub_account.json
701
- - spec/fixtures/content_export.json
702
- - spec/fixtures/created_group.json
703
- - spec/fixtures/pages.json
704
- - spec/fixtures/discussion_entries.json
716
+ - spec/fixtures/reactivate_enrollment.json
717
+ - spec/fixtures/report_history.json
718
+ - spec/fixtures/report_list.json
719
+ - spec/fixtures/report_status.json
720
+ - spec/fixtures/rubric.json
721
+ - spec/fixtures/rubric_assessment.json
722
+ - spec/fixtures/rubric_association.json
723
+ - spec/fixtures/search_find_recipients.json
724
+ - spec/fixtures/section.json
725
+ - spec/fixtures/section_enrollments.json
705
726
  - spec/fixtures/single_account.json
706
- - spec/fixtures/group_category_groups.json
707
- - spec/fixtures/created_group_membership.json
727
+ - spec/fixtures/start_report.json
728
+ - spec/fixtures/sub_account.json
729
+ - spec/fixtures/submissions/submission.json
730
+ - spec/fixtures/update_outcome.json
731
+ - spec/fixtures/update_outcome_group.json
732
+ - spec/fixtures/update_section.json
733
+ - spec/fixtures/updated_course.json
734
+ - spec/fixtures/updated_page.json
735
+ - spec/fixtures/updated_sub_account.json
708
736
  - spec/fixtures/user_avatars.json
709
- - spec/fixtures/graph_ql_scores.json
710
- - spec/fixtures/custom_gradebook_columns/gradebook_column_progress.json
711
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_column.json
712
- - spec/fixtures/custom_gradebook_columns/custom_gradebook_columns.json
713
- - spec/fixtures/custom_gradebook_columns/column_data.json
714
- - spec/fixtures/account_reports_start_result.json
715
- - spec/fixtures/course_grading_standards.json
716
- - spec/fixtures/group_conferences.json
717
- - spec/fixtures/discussion_topic.json
718
- - spec/fixtures/deleted_group.json
737
+ - spec/fixtures/user_details.json
738
+ - spec/fixtures/user_enrollments.json
739
+ - spec/fixtures/user_logins.json
740
+ - spec/fixtures/user_page_views.json
741
+ - spec/fixtures/user_profile.json
742
+ - spec/helper.rb