quiz_api_client 4.16.1 → 4.17.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d09fd6f046ee756bdce9439fb2b10585444002d42ccff124b1b74806db432830
|
4
|
+
data.tar.gz: 68e4132368a554d8e957cdab9250553f578e06da51e3662051d8c45f7db75372
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 360473c5a226927eb692ccc8dc66334c9770878c9d952d10077b73b6004cbf120e79159dd3426f861fd84f1a310ea78fa133a21ed6b1e851446bec0a032db37a
|
7
|
+
data.tar.gz: b414958e672367c5d1c01cf5d649fcc0c0a4af5164eb91aae79a1d916d841455cb20f014aef1c13e57a48bd7a2f696926844ab19fcf3423e7d81352367f24665
|
@@ -5,7 +5,7 @@ describe QuizApiClient::Services::AnalysesService do
|
|
5
5
|
|
6
6
|
describe '#create' do
|
7
7
|
let(:params) do
|
8
|
-
{ quiz_id: 1, quiz_session_ids: [1, 5, 10], filter: :last_attempt }
|
8
|
+
{ quiz_id: 1, quiz_session_ids: [1, 5, 10], filter: :last_attempt, analysis_type: 'student_analysis' }
|
9
9
|
end
|
10
10
|
let(:stubbed_response) { { 'job_id' => 1 } }
|
11
11
|
let(:expected_url) { "https://#{host}/api/quizzes/#{params[:quiz_id]}/analyses" }
|
@@ -13,6 +13,9 @@ describe QuizApiClient::Services::AnalysesService do
|
|
13
13
|
|
14
14
|
before do
|
15
15
|
stub_request(:post, expected_url)
|
16
|
+
.with(
|
17
|
+
body: params.to_json
|
18
|
+
)
|
16
19
|
.to_return(
|
17
20
|
status: status_code,
|
18
21
|
body: stubbed_response.to_json,
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quiz_api_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.17.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Slaughter
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: exe
|
17
17
|
cert_chain: []
|
18
|
-
date: 2024-
|
18
|
+
date: 2024-11-13 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: httparty
|