dkron-rb 0.10.0 → 0.11.2

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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/README.md +1 -5
  4. data/config.json +1 -1
  5. data/dkron-rb.gemspec +2 -2
  6. data/lib/dkron-rb.rb +1 -5
  7. data/lib/dkron-rb/api/default_api.rb +1 -1
  8. data/lib/dkron-rb/api/executions_api.rb +1 -1
  9. data/lib/dkron-rb/api/jobs_api.rb +1 -1
  10. data/lib/dkron-rb/api/members_api.rb +1 -1
  11. data/lib/dkron-rb/api_client.rb +1 -1
  12. data/lib/dkron-rb/api_error.rb +1 -1
  13. data/lib/dkron-rb/configuration.rb +1 -1
  14. data/lib/dkron-rb/models/execution.rb +1 -1
  15. data/lib/dkron-rb/models/executor_config.rb +1 -1
  16. data/lib/dkron-rb/models/job.rb +1 -1
  17. data/lib/dkron-rb/models/member.rb +1 -1
  18. data/lib/dkron-rb/models/processors.rb +1 -1
  19. data/lib/dkron-rb/models/status.rb +1 -1
  20. data/lib/dkron-rb/version.rb +2 -2
  21. data/node_modules/isarray/build/build.js +209 -0
  22. data/node_modules/mime/build/build.js +11 -0
  23. data/node_modules/mime/build/test.js +57 -0
  24. data/spec/api/default_api_spec.rb +12 -24
  25. data/spec/api/executions_api_spec.rb +8 -12
  26. data/spec/api/jobs_api_spec.rb +16 -36
  27. data/spec/api/members_api_spec.rb +8 -12
  28. data/spec/api_client_spec.rb +2 -13
  29. data/spec/configuration_spec.rb +2 -13
  30. data/spec/models/execution_spec.rb +12 -36
  31. data/spec/models/executor_config_spec.rb +1 -1
  32. data/spec/models/job_spec.rb +45 -87
  33. data/spec/models/member_spec.rb +17 -61
  34. data/spec/models/processors_spec.rb +1 -1
  35. data/spec/models/status_spec.rb +6 -6
  36. data/spec/spec_helper.rb +2 -13
  37. metadata +10 -27
  38. data/pkg/dkron-rb-0.9.2.gem +0 -0
  39. data/seeds.rb +0 -21
  40. data/spec/api/main_api_spec.rb +0 -65
  41. data/spec/models/agent_spec.rb +0 -36
  42. data/spec/models/executor_shell_spec.rb +0 -54
  43. data/spec/models/inline_response_200_spec.rb +0 -66
  44. data/spec/models/processor_files_spec.rb +0 -48
  45. data/spec/models/processor_log_spec.rb +0 -42
  46. data/spec/models/processor_syslog_spec.rb +0 -42
  47. data/spec/models/serf_spec.rb +0 -36
  48. data/spec/models/tags_spec.rb +0 -36
@@ -0,0 +1,11 @@
1
+ var db = require('mime-db');
2
+
3
+ var mapByType = {};
4
+ Object.keys(db).forEach(function(key) {
5
+ var extensions = db[key].extensions;
6
+ if (extensions) {
7
+ mapByType[key] = extensions;
8
+ }
9
+ });
10
+
11
+ console.log(JSON.stringify(mapByType));
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Usage: node test.js
3
+ */
4
+
5
+ var mime = require('../mime');
6
+ var assert = require('assert');
7
+ var path = require('path');
8
+
9
+ //
10
+ // Test mime lookups
11
+ //
12
+
13
+ assert.equal('text/plain', mime.lookup('text.txt')); // normal file
14
+ assert.equal('text/plain', mime.lookup('TEXT.TXT')); // uppercase
15
+ assert.equal('text/plain', mime.lookup('dir/text.txt')); // dir + file
16
+ assert.equal('text/plain', mime.lookup('.text.txt')); // hidden file
17
+ assert.equal('text/plain', mime.lookup('.txt')); // nameless
18
+ assert.equal('text/plain', mime.lookup('txt')); // extension-only
19
+ assert.equal('text/plain', mime.lookup('/txt')); // extension-less ()
20
+ assert.equal('text/plain', mime.lookup('\\txt')); // Windows, extension-less
21
+ assert.equal('application/octet-stream', mime.lookup('text.nope')); // unrecognized
22
+ assert.equal('fallback', mime.lookup('text.fallback', 'fallback')); // alternate default
23
+
24
+ //
25
+ // Test extensions
26
+ //
27
+
28
+ assert.equal('txt', mime.extension(mime.types.text));
29
+ assert.equal('html', mime.extension(mime.types.htm));
30
+ assert.equal('bin', mime.extension('application/octet-stream'));
31
+ assert.equal('bin', mime.extension('application/octet-stream '));
32
+ assert.equal('html', mime.extension(' text/html; charset=UTF-8'));
33
+ assert.equal('html', mime.extension('text/html; charset=UTF-8 '));
34
+ assert.equal('html', mime.extension('text/html; charset=UTF-8'));
35
+ assert.equal('html', mime.extension('text/html ; charset=UTF-8'));
36
+ assert.equal('html', mime.extension('text/html;charset=UTF-8'));
37
+ assert.equal('html', mime.extension('text/Html;charset=UTF-8'));
38
+ assert.equal(undefined, mime.extension('unrecognized'));
39
+
40
+ //
41
+ // Test node.types lookups
42
+ //
43
+
44
+ assert.equal('application/font-woff', mime.lookup('file.woff'));
45
+ assert.equal('application/octet-stream', mime.lookup('file.buffer'));
46
+ assert.equal('audio/mp4', mime.lookup('file.m4a'));
47
+ assert.equal('font/opentype', mime.lookup('file.otf'));
48
+
49
+ //
50
+ // Test charsets
51
+ //
52
+
53
+ assert.equal('UTF-8', mime.charsets.lookup('text/plain'));
54
+ assert.equal(undefined, mime.charsets.lookup(mime.types.js));
55
+ assert.equal('fallback', mime.charsets.lookup('application/octet-stream', 'fallback'));
56
+
57
+ console.log('\nAll tests passed');
@@ -1,12 +1,12 @@
1
1
  =begin
2
- Dkron REST API
2
+ #Dkron REST API
3
3
 
4
- You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`.\n\nDkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port.\n\nDefault API responses are unformatted JSON add the `pretty=true` param to format the response.\n
4
+ #You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
5
5
 
6
- OpenAPI spec version: 0.9.0
6
+ OpenAPI spec version: 0.11.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -27,53 +27,41 @@ describe 'DefaultApi' do
27
27
  end
28
28
 
29
29
  describe 'test an instance of DefaultApi' do
30
- it 'should create an instact of DefaultApi' do
31
- @instance.should be_a(Dkron::DefaultApi)
30
+ it 'should create an instance of DefaultApi' do
31
+ expect(@instance).to be_instance_of(Dkron::DefaultApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for get_leader
36
36
  #
37
- # List members.\n
37
+ # List leader of cluster.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Member]
40
40
  describe 'get_leader test' do
41
41
  it "should work" do
42
- # assertion here
43
- # should be_a()
44
- # should be_nil
45
- # should ==
46
- # should_not ==
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
43
  end
48
44
  end
49
45
 
50
46
  # unit tests for leave
51
47
  #
52
- # Force the node to leave the cluster.\n
48
+ # Force the node to leave the cluster.
53
49
  # @param [Hash] opts the optional parameters
54
50
  # @return [Array<Member>]
55
51
  describe 'leave test' do
56
52
  it "should work" do
57
- # assertion here
58
- # should be_a()
59
- # should be_nil
60
- # should ==
61
- # should_not ==
53
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
54
  end
63
55
  end
64
56
 
65
57
  # unit tests for status
66
58
  #
67
- # Gets `Status` object.\n
59
+ # Gets &#x60;Status&#x60; object.
68
60
  # @param [Hash] opts the optional parameters
69
61
  # @return [Status]
70
62
  describe 'status test' do
71
63
  it "should work" do
72
- # assertion here
73
- # should be_a()
74
- # should be_nil
75
- # should ==
76
- # should_not ==
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
77
65
  end
78
66
  end
79
67
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
- Dkron REST API
2
+ #Dkron REST API
3
3
 
4
- You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`.\n\nDkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port.\n\nDefault API responses are unformatted JSON add the `pretty=true` param to format the response.\n
4
+ #You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
5
5
 
6
- OpenAPI spec version: 0.9.0
6
+ OpenAPI spec version: 0.11.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -27,24 +27,20 @@ describe 'ExecutionsApi' do
27
27
  end
28
28
 
29
29
  describe 'test an instance of ExecutionsApi' do
30
- it 'should create an instact of ExecutionsApi' do
31
- @instance.should be_a(Dkron::ExecutionsApi)
30
+ it 'should create an instance of ExecutionsApi' do
31
+ expect(@instance).to be_instance_of(Dkron::ExecutionsApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for list_executions_by_job
36
36
  #
37
- # List executions.\n
37
+ # List executions.
38
38
  # @param job_name The job that owns the executions to be fetched.
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [Array<Execution>]
41
41
  describe 'list_executions_by_job test' do
42
42
  it "should work" do
43
- # assertion here
44
- # should be_a()
45
- # should be_nil
46
- # should ==
47
- # should_not ==
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
44
  end
49
45
  end
50
46
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
- Dkron REST API
2
+ #Dkron REST API
3
3
 
4
- You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`.\n\nDkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port.\n\nDefault API responses are unformatted JSON add the `pretty=true` param to format the response.\n
4
+ #You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
5
5
 
6
- OpenAPI spec version: 0.9.0
6
+ OpenAPI spec version: 0.11.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -27,87 +27,67 @@ describe 'JobsApi' do
27
27
  end
28
28
 
29
29
  describe 'test an instance of JobsApi' do
30
- it 'should create an instact of JobsApi' do
31
- @instance.should be_a(Dkron::JobsApi)
30
+ it 'should create an instance of JobsApi' do
31
+ expect(@instance).to be_instance_of(Dkron::JobsApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for create_or_update_job
36
36
  #
37
- # Create or updates a new job.\n
37
+ # Create or updates a new job.
38
38
  # @param body Updated job object
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @return [Job]
41
41
  describe 'create_or_update_job test' do
42
42
  it "should work" do
43
- # assertion here
44
- # should be_a()
45
- # should be_nil
46
- # should ==
47
- # should_not ==
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
44
  end
49
45
  end
50
46
 
51
47
  # unit tests for delete_job
52
48
  #
53
- # Delete a job.\n
49
+ # Delete a job.
54
50
  # @param job_name The job that needs to be deleted.
55
51
  # @param [Hash] opts the optional parameters
56
52
  # @return [Job]
57
53
  describe 'delete_job test' do
58
54
  it "should work" do
59
- # assertion here
60
- # should be_a()
61
- # should be_nil
62
- # should ==
63
- # should_not ==
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
64
56
  end
65
57
  end
66
58
 
67
59
  # unit tests for get_jobs
68
60
  #
69
- # List jobs.\n
61
+ # List jobs.
70
62
  # @param [Hash] opts the optional parameters
71
63
  # @return [Array<Job>]
72
64
  describe 'get_jobs test' do
73
65
  it "should work" do
74
- # assertion here
75
- # should be_a()
76
- # should be_nil
77
- # should ==
78
- # should_not ==
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
67
  end
80
68
  end
81
69
 
82
70
  # unit tests for run_job
83
71
  #
84
- # Executes a job.\n
72
+ # Executes a job.
85
73
  # @param job_name The job that needs to be run.
86
74
  # @param [Hash] opts the optional parameters
87
75
  # @return [Job]
88
76
  describe 'run_job test' do
89
77
  it "should work" do
90
- # assertion here
91
- # should be_a()
92
- # should be_nil
93
- # should ==
94
- # should_not ==
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
79
  end
96
80
  end
97
81
 
98
82
  # unit tests for show_job_by_name
99
83
  #
100
- # Show a job.\n
84
+ # Show a job.
101
85
  # @param job_name The job that needs to be fetched.
102
86
  # @param [Hash] opts the optional parameters
103
87
  # @return [Job]
104
88
  describe 'show_job_by_name test' do
105
89
  it "should work" do
106
- # assertion here
107
- # should be_a()
108
- # should be_nil
109
- # should ==
110
- # should_not ==
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
111
91
  end
112
92
  end
113
93
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
- Dkron REST API
2
+ #Dkron REST API
3
3
 
4
- You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`.\n\nDkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port.\n\nDefault API responses are unformatted JSON add the `pretty=true` param to format the response.\n
4
+ #You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
5
5
 
6
- OpenAPI spec version: 0.9.0
6
+ OpenAPI spec version: 0.11.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -27,23 +27,19 @@ describe 'MembersApi' do
27
27
  end
28
28
 
29
29
  describe 'test an instance of MembersApi' do
30
- it 'should create an instact of MembersApi' do
31
- @instance.should be_a(Dkron::MembersApi)
30
+ it 'should create an instance of MembersApi' do
31
+ expect(@instance).to be_instance_of(Dkron::MembersApi)
32
32
  end
33
33
  end
34
34
 
35
35
  # unit tests for get_member
36
36
  #
37
- # List members.\n
37
+ # List members.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<Member>]
40
40
  describe 'get_member test' do
41
41
  it "should work" do
42
- # assertion here
43
- # should be_a()
44
- # should be_nil
45
- # should ==
46
- # should_not ==
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
43
  end
48
44
  end
49
45
 
@@ -3,21 +3,10 @@
3
3
 
4
4
  #You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
5
5
 
6
- OpenAPI spec version: 0.9.0
6
+ OpenAPI spec version: 0.11.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
9
+ Swagger Codegen version: 2.3.1
21
10
 
22
11
  =end
23
12
 
@@ -3,21 +3,10 @@
3
3
 
4
4
  #You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
5
5
 
6
- OpenAPI spec version: 0.9.0
6
+ OpenAPI spec version: 0.11.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
10
- Licensed under the Apache License, Version 2.0 (the "License");
11
- you may not use this file except in compliance with the License.
12
- You may obtain a copy of the License at
13
-
14
- http://www.apache.org/licenses/LICENSE-2.0
15
-
16
- Unless required by applicable law or agreed to in writing, software
17
- distributed under the License is distributed on an "AS IS" BASIS,
18
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19
- See the License for the specific language governing permissions and
20
- limitations under the License.
9
+ Swagger Codegen version: 2.3.1
21
10
 
22
11
  =end
23
12
 
@@ -1,12 +1,12 @@
1
1
  =begin
2
- Dkron REST API
2
+ #Dkron REST API
3
3
 
4
- You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`.\n\nDkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port.\n\nDefault API responses are unformatted JSON add the `pretty=true` param to format the response.\n
4
+ #You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
5
5
 
6
- OpenAPI spec version: 0.9.0
6
+ OpenAPI spec version: 0.11.2
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
-
9
+ Swagger Codegen version: 2.3.1
10
10
 
11
11
  =end
12
12
 
@@ -28,67 +28,43 @@ describe 'Execution' do
28
28
  end
29
29
 
30
30
  describe 'test an instance of Execution' do
31
- it 'should create an instact of Execution' do
32
- @instance.should be_a(Dkron::Execution)
31
+ it 'should create an instance of Execution' do
32
+ expect(@instance).to be_instance_of(Dkron::Execution)
33
33
  end
34
34
  end
35
35
  describe 'test attribute "job_name"' do
36
36
  it 'should work' do
37
- # assertion here
38
- # should be_a()
39
- # should be_nil
40
- # should ==
41
- # should_not ==
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
42
38
  end
43
39
  end
44
40
 
45
41
  describe 'test attribute "started_at"' do
46
42
  it 'should work' do
47
- # assertion here
48
- # should be_a()
49
- # should be_nil
50
- # should ==
51
- # should_not ==
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
52
44
  end
53
45
  end
54
46
 
55
47
  describe 'test attribute "finished_at"' do
56
48
  it 'should work' do
57
- # assertion here
58
- # should be_a()
59
- # should be_nil
60
- # should ==
61
- # should_not ==
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
50
  end
63
51
  end
64
52
 
65
53
  describe 'test attribute "success"' do
66
54
  it 'should work' do
67
- # assertion here
68
- # should be_a()
69
- # should be_nil
70
- # should ==
71
- # should_not ==
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
56
  end
73
57
  end
74
58
 
75
59
  describe 'test attribute "output"' do
76
60
  it 'should work' do
77
- # assertion here
78
- # should be_a()
79
- # should be_nil
80
- # should ==
81
- # should_not ==
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
82
62
  end
83
63
  end
84
64
 
85
65
  describe 'test attribute "node_name"' do
86
66
  it 'should work' do
87
- # assertion here
88
- # should be_a()
89
- # should be_nil
90
- # should ==
91
- # should_not ==
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
68
  end
93
69
  end
94
70