phrase 2.7.0 → 2.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,101 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+
4
+ # Unit tests for Phrase::JobCommentsApi
5
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
6
+ # Please update as you see appropriate
7
+ describe 'JobCommentsApi' do
8
+ before do
9
+ # run before each test
10
+ @api_instance = Phrase::JobCommentsApi.new
11
+ end
12
+
13
+ after do
14
+ # run after each test
15
+ end
16
+
17
+ describe 'test an instance of JobCommentsApi' do
18
+ it 'should create an instance of JobCommentsApi' do
19
+ expect(@api_instance).to be_instance_of(Phrase::JobCommentsApi)
20
+ end
21
+ end
22
+
23
+ # unit tests for job_comment_create
24
+ # Create a job comment
25
+ # Create a new comment for a job.
26
+ # @param project_id Project ID
27
+ # @param job_id Job ID
28
+ # @param job_comment_create_parameters
29
+ # @param [Hash] opts the optional parameters
30
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
31
+ # @return [JobComment]
32
+ describe 'job_comment_create test' do
33
+ it 'should work' do
34
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
35
+ end
36
+ end
37
+
38
+ # unit tests for job_comment_delete
39
+ # Delete a job comment
40
+ # Delete an existing job comment.
41
+ # @param project_id Project ID
42
+ # @param job_id Job ID
43
+ # @param id ID
44
+ # @param [Hash] opts the optional parameters
45
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
46
+ # @option opts [String] :branch specify the branch to use
47
+ # @return [nil]
48
+ describe 'job_comment_delete test' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
51
+ end
52
+ end
53
+
54
+ # unit tests for job_comment_show
55
+ # Get a single job comment
56
+ # Get details on a single job comment.
57
+ # @param project_id Project ID
58
+ # @param job_id Job ID
59
+ # @param id ID
60
+ # @param [Hash] opts the optional parameters
61
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
62
+ # @option opts [String] :branch specify the branch to use
63
+ # @return [Object]
64
+ describe 'job_comment_show test' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ # unit tests for job_comment_update
71
+ # Update a job comment
72
+ # Update an existing job comment.
73
+ # @param project_id Project ID
74
+ # @param key_id Translation Key ID
75
+ # @param id ID
76
+ # @param job_comment_update_parameters
77
+ # @param [Hash] opts the optional parameters
78
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
79
+ # @return [Object]
80
+ describe 'job_comment_update test' do
81
+ it 'should work' do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ # unit tests for job_comments_list
87
+ # List job comments
88
+ # List all comments for a job.
89
+ # @param project_id Project ID
90
+ # @param job_id Job ID
91
+ # @param [Hash] opts the optional parameters
92
+ # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
93
+ # @option opts [String] :branch specify the branch to use
94
+ # @return [Array<Object>]
95
+ describe 'job_comments_list test' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ end
@@ -24,9 +24,12 @@ describe 'ScreenshotsApi' do
24
24
  # Create a screenshot
25
25
  # Create a new screenshot.
26
26
  # @param project_id Project ID
27
- # @param screenshot_create_parameters
28
27
  # @param [Hash] opts the optional parameters
29
28
  # @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
29
+ # @option opts [String] :branch specify the branch to use
30
+ # @option opts [String] :name Name of the screenshot
31
+ # @option opts [String] :description Description of the screenshot
32
+ # @option opts [File] :filename Screenshot file
30
33
  # @return [Screenshot]
31
34
  describe 'screenshot_create test' do
32
35
  it 'should work' do
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::JobCommentCreateParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'JobCommentCreateParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::JobCommentCreateParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of JobCommentCreateParameters' do
19
+ it 'should create an instance of JobCommentCreateParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::JobCommentCreateParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "message"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ end
@@ -0,0 +1,65 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::JobComment
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'JobComment' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::JobComment.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of JobComment' do
19
+ it 'should create an instance of JobComment' do
20
+ expect(@instance).to be_instance_of(Phrase::JobComment)
21
+ end
22
+ end
23
+ describe 'test attribute "id"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ describe 'test attribute "message"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ end
33
+ end
34
+
35
+ describe 'test attribute "job_id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "user"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "created_at"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "updated_at"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "mentioned_users"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ end
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::JobCommentUpdateParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'JobCommentUpdateParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::JobCommentUpdateParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of JobCommentUpdateParameters' do
19
+ it 'should create an instance of JobCommentUpdateParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::JobCommentUpdateParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "message"' do
24
+ it 'should work' do
25
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
26
+ end
27
+ end
28
+
29
+ end