vericite_api 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +2 -0
- data/lib/vericite_client/api/default_api.rb +361 -0
- data/lib/vericite_client/api_client.rb +360 -0
- data/lib/vericite_client/api_error.rb +28 -0
- data/lib/vericite_client/configuration.rb +163 -0
- data/lib/vericite_client/models/assignment_data.rb +232 -0
- data/lib/vericite_client/models/consumer_data.rb +231 -0
- data/lib/vericite_client/models/consumer_response.rb +165 -0
- data/lib/vericite_client/models/error.rb +153 -0
- data/lib/vericite_client/models/external_content_data.rb +187 -0
- data/lib/vericite_client/models/external_content_upload_info.rb +198 -0
- data/lib/vericite_client/models/report_meta_data.rb +221 -0
- data/lib/vericite_client/models/report_score_reponse.rb +183 -0
- data/lib/vericite_client/models/report_url_link_reponse.rb +198 -0
- data/lib/vericite_client/version.rb +7 -0
- data/lib/vericite_client.rb +41 -0
- data/spec/api/default_api_spec.rb +110 -0
- data/spec/models/assignment_data_spec.rb +104 -0
- data/spec/models/consumer_data_spec.rb +105 -0
- data/spec/models/consumer_response_spec.rb +45 -0
- data/spec/models/error_spec.rb +35 -0
- data/spec/models/external_content_data_spec.rb +65 -0
- data/spec/models/external_content_upload_info_spec.rb +75 -0
- data/spec/models/report_meta_data_spec.rb +95 -0
- data/spec/models/report_score_reponse_spec.rb +65 -0
- data/spec/models/report_url_link_reponse_spec.rb +75 -0
- data/vericite_api.gemspec +32 -0
- metadata +242 -0
@@ -0,0 +1,110 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
|
8
|
+
describe 'DefaultApi' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = VeriCiteClient::DefaultApi.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of DefaultApi' do
|
19
|
+
it 'should create an instact of DefaultApi' do
|
20
|
+
@instance.should be_a(VeriCiteClient::DefaultApi)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
|
25
|
+
# unit tests for assignments_context_id_assignment_id_post
|
26
|
+
#
|
27
|
+
# Create/update assignment
|
28
|
+
# @param context_id Context ID
|
29
|
+
# @param assignment_id ID of assignment
|
30
|
+
# @param consumer the consumer
|
31
|
+
# @param consumer_secret the consumer secret
|
32
|
+
# @param assignment_data
|
33
|
+
# @param [Hash] opts the optional parameters
|
34
|
+
# @return [Array<ExternalContentUploadInfo>]
|
35
|
+
describe 'assignments_context_id_assignment_id_post test' do
|
36
|
+
it "should work" do
|
37
|
+
# assertion here
|
38
|
+
# should be_a()
|
39
|
+
# should be_nil
|
40
|
+
# should ==
|
41
|
+
# should_not ==
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
# unit tests for reports_scores_context_id_get
|
46
|
+
#
|
47
|
+
# Retrieves scores for the reports
|
48
|
+
# @param context_id Context ID
|
49
|
+
# @param consumer the consumer
|
50
|
+
# @param consumer_secret the consumer secret
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [String] :assignment_id ID of assignment
|
53
|
+
# @option opts [String] :user_id ID of user
|
54
|
+
# @option opts [String] :external_content_id external content id
|
55
|
+
# @return [Array<ReportScoreReponse>]
|
56
|
+
describe 'reports_scores_context_id_get test' do
|
57
|
+
it "should work" do
|
58
|
+
# assertion here
|
59
|
+
# should be_a()
|
60
|
+
# should be_nil
|
61
|
+
# should ==
|
62
|
+
# should_not ==
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
# unit tests for reports_submit_request_context_id_assignment_id_user_id_post
|
67
|
+
#
|
68
|
+
# Request a file submission
|
69
|
+
# @param context_id Context ID
|
70
|
+
# @param assignment_id ID of assignment
|
71
|
+
# @param user_id ID of user
|
72
|
+
# @param consumer the consumer
|
73
|
+
# @param consumer_secret the consumer secret
|
74
|
+
# @param report_meta_data
|
75
|
+
# @param [Hash] opts the optional parameters
|
76
|
+
# @return [Array<ExternalContentUploadInfo>]
|
77
|
+
describe 'reports_submit_request_context_id_assignment_id_user_id_post test' do
|
78
|
+
it "should work" do
|
79
|
+
# assertion here
|
80
|
+
# should be_a()
|
81
|
+
# should be_nil
|
82
|
+
# should ==
|
83
|
+
# should_not ==
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
# unit tests for reports_urls_context_id_get
|
88
|
+
#
|
89
|
+
# Retrieves URLS for the reports
|
90
|
+
# @param context_id Context ID
|
91
|
+
# @param assignment_id_filter ID of assignment to filter results on
|
92
|
+
# @param consumer the consumer
|
93
|
+
# @param consumer_secret the consumer secret
|
94
|
+
# @param token_user ID of user who will view the report
|
95
|
+
# @param token_user_role role of user who will view the report
|
96
|
+
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [String] :user_id_filter ID of user to filter results on
|
98
|
+
# @option opts [String] :external_content_id_filter external content id to filter results on
|
99
|
+
# @return [Array<ReportURLLinkReponse>]
|
100
|
+
describe 'reports_urls_context_id_get test' do
|
101
|
+
it "should work" do
|
102
|
+
# assertion here
|
103
|
+
# should be_a()
|
104
|
+
# should be_nil
|
105
|
+
# should ==
|
106
|
+
# should_not ==
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
@@ -0,0 +1,104 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
require 'date'
|
8
|
+
|
9
|
+
describe 'AssignmentData' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = VeriCiteClient::AssignmentData.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of AssignmentData' do
|
20
|
+
it 'should create an instact of AssignmentData' do
|
21
|
+
@instance.should be_a(VeriCiteClient::AssignmentData)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
describe 'test attribute "assignment_title"' do
|
25
|
+
it 'should work' do
|
26
|
+
# assertion here
|
27
|
+
# should be_a()
|
28
|
+
# should be_nil
|
29
|
+
# should ==
|
30
|
+
# should_not ==
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "assignment_instructions"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here
|
37
|
+
# should be_a()
|
38
|
+
# should be_nil
|
39
|
+
# should ==
|
40
|
+
# should_not ==
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "assignment_exclude_quotes"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here
|
47
|
+
# should be_a()
|
48
|
+
# should be_nil
|
49
|
+
# should ==
|
50
|
+
# should_not ==
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "assignment_exclude_self_plag"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here
|
57
|
+
# should be_a()
|
58
|
+
# should be_nil
|
59
|
+
# should ==
|
60
|
+
# should_not ==
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "assignment_store_in_index"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here
|
67
|
+
# should be_a()
|
68
|
+
# should be_nil
|
69
|
+
# should ==
|
70
|
+
# should_not ==
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "assignment_due_date"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here
|
77
|
+
# should be_a()
|
78
|
+
# should be_nil
|
79
|
+
# should ==
|
80
|
+
# should_not ==
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "assignment_grade"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here
|
87
|
+
# should be_a()
|
88
|
+
# should be_nil
|
89
|
+
# should ==
|
90
|
+
# should_not ==
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "assignment_attachment_external_content"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here
|
97
|
+
# should be_a()
|
98
|
+
# should be_nil
|
99
|
+
# should ==
|
100
|
+
# should_not ==
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|
@@ -0,0 +1,105 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
require 'date'
|
8
|
+
|
9
|
+
describe 'ConsumerData' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = VeriCiteClient::ConsumerData.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of ConsumerData' do
|
20
|
+
it 'should create an instact of ConsumerData' do
|
21
|
+
@instance.should be_a(VeriCiteClient::ConsumerData)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
describe 'test attribute "description"' do
|
25
|
+
it 'should work' do
|
26
|
+
# assertion here
|
27
|
+
# should be_a()
|
28
|
+
# should be_nil
|
29
|
+
# should ==
|
30
|
+
# should_not ==
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "trial"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here
|
37
|
+
# should be_a()
|
38
|
+
# should be_nil
|
39
|
+
# should ==
|
40
|
+
# should_not ==
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "trial_end_date"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here
|
47
|
+
# should be_a()
|
48
|
+
# should be_nil
|
49
|
+
# should ==
|
50
|
+
# should_not ==
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "contact_email"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here
|
57
|
+
# should be_a()
|
58
|
+
# should be_nil
|
59
|
+
# should ==
|
60
|
+
# should_not ==
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "contact_name"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here
|
67
|
+
# should be_a()
|
68
|
+
# should be_nil
|
69
|
+
# should ==
|
70
|
+
# should_not ==
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "time_zone"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here
|
77
|
+
# should be_a()
|
78
|
+
# should be_nil
|
79
|
+
# should ==
|
80
|
+
# should_not ==
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "fte_count"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here
|
87
|
+
# should be_a()
|
88
|
+
# should be_nil
|
89
|
+
# should ==
|
90
|
+
# should_not ==
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "notes"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here
|
97
|
+
# should be_a()
|
98
|
+
# should be_nil
|
99
|
+
# should ==
|
100
|
+
# should_not ==
|
101
|
+
end
|
102
|
+
end
|
103
|
+
|
104
|
+
end
|
105
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
require 'date'
|
8
|
+
|
9
|
+
describe 'ConsumerResponse' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = VeriCiteClient::ConsumerResponse.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of ConsumerResponse' do
|
20
|
+
it 'should create an instact of ConsumerResponse' do
|
21
|
+
@instance.should be_a(VeriCiteClient::ConsumerResponse)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
describe 'test attribute "consumer_key"' do
|
25
|
+
it 'should work' do
|
26
|
+
# assertion here
|
27
|
+
# should be_a()
|
28
|
+
# should be_nil
|
29
|
+
# should ==
|
30
|
+
# should_not ==
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "consumer_secret"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here
|
37
|
+
# should be_a()
|
38
|
+
# should be_nil
|
39
|
+
# should ==
|
40
|
+
# should_not ==
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
end
|
45
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
require 'date'
|
8
|
+
|
9
|
+
describe 'Error' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = VeriCiteClient::Error.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of Error' do
|
20
|
+
it 'should create an instact of Error' do
|
21
|
+
@instance.should be_a(VeriCiteClient::Error)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
describe 'test attribute "message"' do
|
25
|
+
it 'should work' do
|
26
|
+
# assertion here
|
27
|
+
# should be_a()
|
28
|
+
# should be_nil
|
29
|
+
# should ==
|
30
|
+
# should_not ==
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
require 'date'
|
8
|
+
|
9
|
+
describe 'ExternalContentData' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = VeriCiteClient::ExternalContentData.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of ExternalContentData' do
|
20
|
+
it 'should create an instact of ExternalContentData' do
|
21
|
+
@instance.should be_a(VeriCiteClient::ExternalContentData)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
describe 'test attribute "file_name"' do
|
25
|
+
it 'should work' do
|
26
|
+
# assertion here
|
27
|
+
# should be_a()
|
28
|
+
# should be_nil
|
29
|
+
# should ==
|
30
|
+
# should_not ==
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "upload_content_type"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here
|
37
|
+
# should be_a()
|
38
|
+
# should be_nil
|
39
|
+
# should ==
|
40
|
+
# should_not ==
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "upload_content_length"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here
|
47
|
+
# should be_a()
|
48
|
+
# should be_nil
|
49
|
+
# should ==
|
50
|
+
# should_not ==
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "external_content_id"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here
|
57
|
+
# should be_a()
|
58
|
+
# should be_nil
|
59
|
+
# should ==
|
60
|
+
# should_not ==
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|
@@ -0,0 +1,75 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
require 'date'
|
8
|
+
|
9
|
+
describe 'ExternalContentUploadInfo' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = VeriCiteClient::ExternalContentUploadInfo.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of ExternalContentUploadInfo' do
|
20
|
+
it 'should create an instact of ExternalContentUploadInfo' do
|
21
|
+
@instance.should be_a(VeriCiteClient::ExternalContentUploadInfo)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
describe 'test attribute "external_content_id"' do
|
25
|
+
it 'should work' do
|
26
|
+
# assertion here
|
27
|
+
# should be_a()
|
28
|
+
# should be_nil
|
29
|
+
# should ==
|
30
|
+
# should_not ==
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "url_post"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here
|
37
|
+
# should be_a()
|
38
|
+
# should be_nil
|
39
|
+
# should ==
|
40
|
+
# should_not ==
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "file_path"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here
|
47
|
+
# should be_a()
|
48
|
+
# should be_nil
|
49
|
+
# should ==
|
50
|
+
# should_not ==
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "content_length"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here
|
57
|
+
# should be_a()
|
58
|
+
# should be_nil
|
59
|
+
# should ==
|
60
|
+
# should_not ==
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "content_type"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here
|
67
|
+
# should be_a()
|
68
|
+
# should be_nil
|
69
|
+
# should ==
|
70
|
+
# should_not ==
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
end
|
75
|
+
|
@@ -0,0 +1,95 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
require 'date'
|
8
|
+
|
9
|
+
describe 'ReportMetaData' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = VeriCiteClient::ReportMetaData.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of ReportMetaData' do
|
20
|
+
it 'should create an instact of ReportMetaData' do
|
21
|
+
@instance.should be_a(VeriCiteClient::ReportMetaData)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
describe 'test attribute "user_first_name"' do
|
25
|
+
it 'should work' do
|
26
|
+
# assertion here
|
27
|
+
# should be_a()
|
28
|
+
# should be_nil
|
29
|
+
# should ==
|
30
|
+
# should_not ==
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "user_last_name"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here
|
37
|
+
# should be_a()
|
38
|
+
# should be_nil
|
39
|
+
# should ==
|
40
|
+
# should_not ==
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "user_email"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here
|
47
|
+
# should be_a()
|
48
|
+
# should be_nil
|
49
|
+
# should ==
|
50
|
+
# should_not ==
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "user_role"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here
|
57
|
+
# should be_a()
|
58
|
+
# should be_nil
|
59
|
+
# should ==
|
60
|
+
# should_not ==
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "assignment_title"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here
|
67
|
+
# should be_a()
|
68
|
+
# should be_nil
|
69
|
+
# should ==
|
70
|
+
# should_not ==
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
describe 'test attribute "context_title"' do
|
75
|
+
it 'should work' do
|
76
|
+
# assertion here
|
77
|
+
# should be_a()
|
78
|
+
# should be_nil
|
79
|
+
# should ==
|
80
|
+
# should_not ==
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "external_content_data"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here
|
87
|
+
# should be_a()
|
88
|
+
# should be_nil
|
89
|
+
# should ==
|
90
|
+
# should_not ==
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
end
|
95
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
=begin
|
2
|
+
VeriCiteV1
|
3
|
+
=end
|
4
|
+
|
5
|
+
require 'spec_helper'
|
6
|
+
require 'json'
|
7
|
+
require 'date'
|
8
|
+
|
9
|
+
describe 'ReportScoreReponse' do
|
10
|
+
before do
|
11
|
+
# run before each test
|
12
|
+
@instance = VeriCiteClient::ReportScoreReponse.new
|
13
|
+
end
|
14
|
+
|
15
|
+
after do
|
16
|
+
# run after each test
|
17
|
+
end
|
18
|
+
|
19
|
+
describe 'test an instance of ReportScoreReponse' do
|
20
|
+
it 'should create an instact of ReportScoreReponse' do
|
21
|
+
@instance.should be_a(VeriCiteClient::ReportScoreReponse)
|
22
|
+
end
|
23
|
+
end
|
24
|
+
describe 'test attribute "user"' do
|
25
|
+
it 'should work' do
|
26
|
+
# assertion here
|
27
|
+
# should be_a()
|
28
|
+
# should be_nil
|
29
|
+
# should ==
|
30
|
+
# should_not ==
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "assignment"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here
|
37
|
+
# should be_a()
|
38
|
+
# should be_nil
|
39
|
+
# should ==
|
40
|
+
# should_not ==
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
describe 'test attribute "external_content_id"' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here
|
47
|
+
# should be_a()
|
48
|
+
# should be_nil
|
49
|
+
# should ==
|
50
|
+
# should_not ==
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "score"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here
|
57
|
+
# should be_a()
|
58
|
+
# should be_nil
|
59
|
+
# should ==
|
60
|
+
# should_not ==
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
end
|
65
|
+
|