phrase 4.8.0 → 4.10.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.
@@ -0,0 +1,79 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::AutomationsCreateParameters1
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'AutomationsCreateParameters1' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::AutomationsCreateParameters1.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of AutomationsCreateParameters1' do
19
+ it 'should create an instance of AutomationsCreateParameters1' do
20
+ expect(@instance).to be_instance_of(Phrase::AutomationsCreateParameters1)
21
+ end
22
+ end
23
+ describe 'test attribute "name"' 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 "trigger"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["schedule", "upload"])
33
+ # validator.allowable_values.each do |value|
34
+ # expect { @instance.trigger = value }.not_to raise_error
35
+ # end
36
+ end
37
+ end
38
+
39
+ describe 'test attribute "project_ids"' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ describe 'test attribute "job_template_id"' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ describe 'test attribute "status_filters"' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["unverified", "untranslated", "ready_for_review"])
55
+ # validator.allowable_values.each do |value|
56
+ # expect { @instance.status_filters = value }.not_to raise_error
57
+ # end
58
+ end
59
+ end
60
+
61
+ describe 'test attribute "tags"' do
62
+ it 'should work' do
63
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
64
+ end
65
+ end
66
+
67
+ describe 'test attribute "cron_schedule"' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ describe 'test attribute "time_zone"' do
74
+ it 'should work' do
75
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
76
+ end
77
+ end
78
+
79
+ end
@@ -0,0 +1,79 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::AutomationsCreateParameters
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'AutomationsCreateParameters' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::AutomationsCreateParameters.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of AutomationsCreateParameters' do
19
+ it 'should create an instance of AutomationsCreateParameters' do
20
+ expect(@instance).to be_instance_of(Phrase::AutomationsCreateParameters)
21
+ end
22
+ end
23
+ describe 'test attribute "name"' 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 "trigger"' do
30
+ it 'should work' do
31
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["schedule", "upload"])
33
+ # validator.allowable_values.each do |value|
34
+ # expect { @instance.trigger = value }.not_to raise_error
35
+ # end
36
+ end
37
+ end
38
+
39
+ describe 'test attribute "project_ids"' do
40
+ it 'should work' do
41
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
+ end
43
+ end
44
+
45
+ describe 'test attribute "job_template_id"' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ describe 'test attribute "status_filters"' do
52
+ it 'should work' do
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
54
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["unverified", "untranslated", "ready_for_review"])
55
+ # validator.allowable_values.each do |value|
56
+ # expect { @instance.status_filters = value }.not_to raise_error
57
+ # end
58
+ end
59
+ end
60
+
61
+ describe 'test attribute "tags"' do
62
+ it 'should work' do
63
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
64
+ end
65
+ end
66
+
67
+ describe 'test attribute "cron_schedule"' do
68
+ it 'should work' do
69
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
70
+ end
71
+ end
72
+
73
+ describe 'test attribute "time_zone"' do
74
+ it 'should work' do
75
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
76
+ end
77
+ end
78
+
79
+ end
@@ -56,4 +56,10 @@ describe 'TranslationUpdateParameters' do
56
56
  end
57
57
  end
58
58
 
59
+ describe 'test attribute "reviewed"' 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
+
59
65
  end