opentok 2.2.4 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +44 -17
  3. data/doc/OpenTok.html +20 -13
  4. data/doc/OpenTok/Archive.html +350 -68
  5. data/doc/OpenTok/ArchiveList.html +3 -3
  6. data/doc/OpenTok/Archives.html +114 -42
  7. data/doc/OpenTok/HashExtensions.html +184 -0
  8. data/doc/OpenTok/OpenTok.html +89 -44
  9. data/doc/OpenTok/OpenTokArchiveError.html +3 -3
  10. data/doc/OpenTok/OpenTokAuthenticationError.html +3 -3
  11. data/doc/OpenTok/OpenTokError.html +3 -3
  12. data/doc/OpenTok/Session.html +116 -24
  13. data/doc/_index.html +22 -7
  14. data/doc/class_list.html +6 -2
  15. data/doc/file.README.html +3 -3
  16. data/doc/file_list.html +5 -1
  17. data/doc/frames.html +1 -1
  18. data/doc/index.html +3 -3
  19. data/doc/js/full_list.js +4 -1
  20. data/doc/method_list.html +45 -11
  21. data/doc/top-level-namespace.html +3 -3
  22. data/lib/extensions/hash.rb +12 -0
  23. data/lib/opentok/archive.rb +22 -2
  24. data/lib/opentok/archives.rb +33 -6
  25. data/lib/opentok/client.rb +21 -4
  26. data/lib/opentok/constants.rb +1 -0
  27. data/lib/opentok/opentok.rb +25 -13
  28. data/lib/opentok/session.rb +6 -3
  29. data/lib/opentok/version.rb +1 -1
  30. data/sample/Archiving/README.md +16 -10
  31. data/sample/Archiving/archiving_sample.rb +6 -3
  32. data/sample/Archiving/public/js/host.js +25 -12
  33. data/sample/Archiving/views/host.erb +24 -0
  34. data/sample/HelloWorld/README.md +1 -1
  35. data/spec/cassettes/OpenTok_Archives/should_create_archives.yml +1 -1
  36. data/spec/cassettes/OpenTok_Archives/should_create_audio_only_archives.yml +50 -0
  37. data/spec/cassettes/OpenTok_Archives/should_create_individual_archives.yml +51 -0
  38. data/spec/cassettes/OpenTok_Archives/should_find_paused_archives_by_id.yml +46 -0
  39. data/spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_always_archived_sessions.yml +39 -0
  40. data/spec/opentok/archives_spec.rb +32 -0
  41. data/spec/opentok/opentok_spec.rb +27 -3
  42. data/spec/spec_helper.rb +1 -0
  43. metadata +36 -26
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.opentok.com/v2/partner/123456/archive
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"sessionId":"SESSIONID","outputMode":"individual"}'
9
+ headers:
10
+ X-Tb-Partner-Auth:
11
+ - 123456:1234567890abcdef1234567890abcdef1234567890
12
+ User-Agent:
13
+ - OpenTok-Ruby-SDK/<%= version %>
14
+ Content-Type:
15
+ - application/json
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - nginx
23
+ Date:
24
+ - Wed, 19 Mar 2014 01:49:22 GMT
25
+ Content-Type:
26
+ - application/json
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ body:
32
+ encoding: UTF-8
33
+ string: |-
34
+ {
35
+ "createdAt" : 1395193762293,
36
+ "duration" : 0,
37
+ "id" : "d7f4d2a3-da74-414d-868a-190532a835bc",
38
+ "name" : "ARCHIVE NAME",
39
+ "partnerId" : 123456,
40
+ "reason" : "",
41
+ "sessionId" : "SESSIONID",
42
+ "size" : 0,
43
+ "status" : "started",
44
+ "url" : null,
45
+ "hasAudio" : true,
46
+ "hasVideo" : false,
47
+ "outputMode": "individual"
48
+ }
49
+ http_version:
50
+ recorded_at: Wed, 19 Mar 2014 01:49:22 GMT
51
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.opentok.com/v2/partner/123456/archive/f6e7ee58-d6cf-4a59-896b-6d56b158ec71
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ X-Tb-Partner-Auth:
11
+ - 123456:1234567890abcdef1234567890abcdef1234567890
12
+ User-Agent:
13
+ - OpenTok-Ruby-SDK/<%= version %>
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Server:
20
+ - nginx
21
+ Date:
22
+ - Wed, 19 Mar 2014 01:49:22 GMT
23
+ Content-Type:
24
+ - application/json
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ body:
30
+ encoding: UTF-8
31
+ string: |-
32
+ {
33
+ "createdAt" : 1395187836000,
34
+ "duration" : 62,
35
+ "id" : "f6e7ee58-d6cf-4a59-896b-6d56b158ec71",
36
+ "name" : "",
37
+ "partnerId" : 123456,
38
+ "reason" : "",
39
+ "sessionId" : "SESSIONID",
40
+ "size" : 8347554,
41
+ "status" : "paused",
42
+ "url" : null
43
+ }
44
+ http_version:
45
+ recorded_at: Wed, 19 Mar 2014 01:49:22 GMT
46
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,39 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.opentok.com/session/create
6
+ body:
7
+ encoding: UTF-8
8
+ string: archiveMode=always&p2p.preference=disabled
9
+ headers:
10
+ X-Tb-Partner-Auth:
11
+ - 123456:1234567890abcdef1234567890abcdef1234567890
12
+ User-Agent:
13
+ - OpenTok-Ruby-SDK/<%= version %>
14
+ response:
15
+ status:
16
+ code: 200
17
+ message: OK
18
+ headers:
19
+ Server:
20
+ - nginx
21
+ Date:
22
+ - Mon, 17 Mar 2014 08:48:55 GMT
23
+ Content-Type:
24
+ - text/xml
25
+ Connection:
26
+ - keep-alive
27
+ Access-Control-Allow-Origin:
28
+ - '*'
29
+ X-Tb-Host:
30
+ - oms504-nyc.tokbox.com
31
+ Content-Length:
32
+ - '282'
33
+ body:
34
+ encoding: UTF-8
35
+ string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><sessions><Session><session_id>1_MX4xMjM0NTZ-fk1vbiBNYXIgMTcgMDA6NDE6MzEgUERUIDIwMTR-MC42ODM3ODk1MzQ0OTQyODA4fg</session_id><partner_id>123456</partner_id><create_dt>Mon
36
+ Mar 17 01:48:55 PDT 2014</create_dt></Session></sessions>
37
+ http_version:
38
+ recorded_at: Mon, 17 Mar 2014 08:48:54 GMT
39
+ recorded_with: VCR 2.8.0
@@ -14,6 +14,7 @@ describe OpenTok::Archives do
14
14
  let(:archive_name) { "ARCHIVE NAME" }
15
15
  let(:started_archive_id) { "30b3ebf1-ba36-4f5b-8def-6f70d9986fe9" }
16
16
  let(:findable_archive_id) { "f6e7ee58-d6cf-4a59-896b-6d56b158ec71" }
17
+ let(:findable_paused_archive_id) { "f6e7ee58-d6cf-4a59-896b-6d56b158ec71" }
17
18
  let(:deletable_archive_id) { "832641bf-5dbf-41a1-ad94-fea213e59a92" }
18
19
 
19
20
  let(:opentok) { OpenTok::OpenTok.new api_key, api_secret }
@@ -36,6 +37,20 @@ describe OpenTok::Archives do
36
37
  expect(archive.name).to eq archive_name
37
38
  end
38
39
 
40
+ it "should create audio only archives", :vcr => { :erb => { :version => OpenTok::VERSION } } do
41
+ archive = archives.create session_id, :has_video => false
42
+ expect(archive).to be_an_instance_of OpenTok::Archive
43
+ expect(archive.session_id).to eq session_id
44
+ expect(archive.has_video).to be false
45
+ expect(archive.has_audio).to be true
46
+ end
47
+
48
+ it "should create individual archives", :vcr => { :erb => { :version => OpenTok::VERSION } } do
49
+ archive = archives.create session_id, :output_mode => :individual
50
+ expect(archive).to be_an_instance_of OpenTok::Archive
51
+ expect(archive.session_id).to eq session_id
52
+ expect(archive.output_mode).to eq :individual
53
+ end
39
54
 
40
55
  it "should stop archives", :vcr => { :erb => { :version => OpenTok::VERSION } } do
41
56
  archive = archives.stop_by_id started_archive_id
@@ -49,6 +64,13 @@ describe OpenTok::Archives do
49
64
  expect(archive.id).to eq findable_archive_id
50
65
  end
51
66
 
67
+ it "should find paused archives by id", :vcr => { :erb => { :version => OpenTok::VERSION } } do
68
+ archive = archives.find findable_paused_archive_id
69
+ expect(archive).to be_an_instance_of OpenTok::Archive
70
+ expect(archive.id).to eq findable_paused_archive_id
71
+ expect(archive.status).to eq "paused"
72
+ end
73
+
52
74
  it "should delete an archive by id", :vcr => { :erb => { :version => OpenTok::VERSION } } do
53
75
  success = archives.delete_by_id deletable_archive_id
54
76
  expect(success).to be_true
@@ -99,4 +121,14 @@ describe OpenTok::Archives do
99
121
  end
100
122
  end
101
123
 
124
+ context "http client errors" do
125
+ before(:each) do
126
+ stub_request(:get, /.*\/v2\/partner.*/).to_timeout
127
+ end
128
+
129
+ subject { -> { archives.all } }
130
+
131
+ it { should raise_error(OpenTok::OpenTokError) }
132
+ end
133
+
102
134
  end
@@ -88,6 +88,18 @@ describe OpenTok::OpenTok do
88
88
  expect(session.media_mode).to eq :relayed
89
89
  expect(session.location).to eq nil
90
90
  end
91
+ it "creates always archived sessions", :vcr => { :erb => { :version => OpenTok::VERSION } } do
92
+ session = opentok.create_session :media_mode => :routed, :archive_mode => :always
93
+ expect(session).to be_an_instance_of OpenTok::Session
94
+ expect(session.session_id).to be_an_instance_of String
95
+ expect(session.archive_mode).to eq :always
96
+ expect(session.location).to eq nil
97
+ end
98
+
99
+ context "with relayed media mode and always archive mode" do
100
+ subject { -> { session = opentok.create_session :archive_mode => :always, :media_mode => :relayed }}
101
+ it { should raise_error }
102
+ end
91
103
 
92
104
  end
93
105
 
@@ -121,22 +133,34 @@ describe OpenTok::OpenTok do
121
133
  # TODO: i don't need to run all the tests, just a set that checks for the URL's effect
122
134
  # include_examples "generates tokens"
123
135
  end
136
+ end
137
+
138
+ context "http client errors" do
139
+ let(:api_key) { "123456" }
140
+ let(:api_secret) { "1234567890abcdef1234567890abcdef1234567890" }
141
+
142
+ before(:each) do
143
+ stub_request(:post, 'https://api.opentok.com/session/create').to_timeout
144
+ end
145
+
146
+ subject { -> { opentok.create_session } }
124
147
 
148
+ it { should raise_error(OpenTok::OpenTokError) }
125
149
  end
126
150
 
127
151
  # ah, the magic of duck typing. the errors raised don't have any specific description
128
152
  # see discussion here: https://www.ruby-forum.com/topic/194593
129
153
  context "when initialized improperly" do
130
154
  context "with no arguments" do
131
- subject { -> { @opentok = OpenTOk::OpenTok.new } }
155
+ subject { -> { @opentok = OpenTok::OpenTok.new } }
132
156
  it { should raise_error }
133
157
  end
134
158
  context "with just an api_key" do
135
- subject { -> { @opentok = OpenTOk::OpenTok.new "123456" } }
159
+ subject { -> { @opentok = OpenTok::OpenTok.new "123456" } }
136
160
  it { should raise_error }
137
161
  end
138
162
  context "with arguments of the wrong type" do
139
- subject { -> { @opentok = OpenTOk::OpenTok.new api_key: "123456" } }
163
+ subject { -> { @opentok = OpenTok::OpenTok.new api_key: "123456" } }
140
164
  it { should raise_error }
141
165
  end
142
166
  end
@@ -1,4 +1,5 @@
1
1
  require "vcr"
2
+ require 'webmock/rspec'
2
3
 
3
4
  VCR.configure do |c|
4
5
  c.cassette_library_dir = 'spec/cassettes'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opentok
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stijn Mathysen
@@ -12,132 +12,132 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2015-02-17 00:00:00.000000000 Z
15
+ date: 2015-06-04 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: bundler
19
19
  requirement: !ruby/object:Gem::Requirement
20
20
  requirements:
21
- - - ~>
21
+ - - "~>"
22
22
  - !ruby/object:Gem::Version
23
23
  version: '1.5'
24
24
  type: :development
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
27
27
  requirements:
28
- - - ~>
28
+ - - "~>"
29
29
  - !ruby/object:Gem::Version
30
30
  version: '1.5'
31
31
  - !ruby/object:Gem::Dependency
32
32
  name: rake
33
33
  requirement: !ruby/object:Gem::Requirement
34
34
  requirements:
35
- - - ~>
35
+ - - "~>"
36
36
  - !ruby/object:Gem::Version
37
37
  version: 10.1.1
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ~>
42
+ - - "~>"
43
43
  - !ruby/object:Gem::Version
44
44
  version: 10.1.1
45
45
  - !ruby/object:Gem::Dependency
46
46
  name: rspec
47
47
  requirement: !ruby/object:Gem::Requirement
48
48
  requirements:
49
- - - ~>
49
+ - - "~>"
50
50
  - !ruby/object:Gem::Version
51
51
  version: 2.14.1
52
52
  type: :development
53
53
  prerelease: false
54
54
  version_requirements: !ruby/object:Gem::Requirement
55
55
  requirements:
56
- - - ~>
56
+ - - "~>"
57
57
  - !ruby/object:Gem::Version
58
58
  version: 2.14.1
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: webmock
61
61
  requirement: !ruby/object:Gem::Requirement
62
62
  requirements:
63
- - - ~>
63
+ - - "~>"
64
64
  - !ruby/object:Gem::Version
65
65
  version: 1.17.4
66
66
  type: :development
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
69
69
  requirements:
70
- - - ~>
70
+ - - "~>"
71
71
  - !ruby/object:Gem::Version
72
72
  version: 1.17.4
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: vcr
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ~>
77
+ - - "~>"
78
78
  - !ruby/object:Gem::Version
79
79
  version: 2.8.0
80
80
  type: :development
81
81
  prerelease: false
82
82
  version_requirements: !ruby/object:Gem::Requirement
83
83
  requirements:
84
- - - ~>
84
+ - - "~>"
85
85
  - !ruby/object:Gem::Version
86
86
  version: 2.8.0
87
87
  - !ruby/object:Gem::Dependency
88
88
  name: yard
89
89
  requirement: !ruby/object:Gem::Requirement
90
90
  requirements:
91
- - - ~>
91
+ - - "~>"
92
92
  - !ruby/object:Gem::Version
93
93
  version: 0.8.7
94
94
  type: :development
95
95
  prerelease: false
96
96
  version_requirements: !ruby/object:Gem::Requirement
97
97
  requirements:
98
- - - ~>
98
+ - - "~>"
99
99
  - !ruby/object:Gem::Version
100
100
  version: 0.8.7
101
101
  - !ruby/object:Gem::Dependency
102
102
  name: addressable
103
103
  requirement: !ruby/object:Gem::Requirement
104
104
  requirements:
105
- - - ~>
105
+ - - "~>"
106
106
  - !ruby/object:Gem::Version
107
107
  version: '2.3'
108
108
  type: :runtime
109
109
  prerelease: false
110
110
  version_requirements: !ruby/object:Gem::Requirement
111
111
  requirements:
112
- - - ~>
112
+ - - "~>"
113
113
  - !ruby/object:Gem::Version
114
114
  version: '2.3'
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: httparty
117
117
  requirement: !ruby/object:Gem::Requirement
118
118
  requirements:
119
- - - ~>
119
+ - - "~>"
120
120
  - !ruby/object:Gem::Version
121
121
  version: 0.13.1
122
122
  type: :runtime
123
123
  prerelease: false
124
124
  version_requirements: !ruby/object:Gem::Requirement
125
125
  requirements:
126
- - - ~>
126
+ - - "~>"
127
127
  - !ruby/object:Gem::Version
128
128
  version: 0.13.1
129
129
  - !ruby/object:Gem::Dependency
130
130
  name: activesupport
131
131
  requirement: !ruby/object:Gem::Requirement
132
132
  requirements:
133
- - - '>='
133
+ - - ">="
134
134
  - !ruby/object:Gem::Version
135
135
  version: '2.0'
136
136
  type: :runtime
137
137
  prerelease: false
138
138
  version_requirements: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - '>='
140
+ - - ">="
141
141
  - !ruby/object:Gem::Version
142
142
  version: '2.0'
143
143
  description: OpenTok is an API from TokBox that enables websites to weave live group
@@ -156,9 +156,9 @@ executables: []
156
156
  extensions: []
157
157
  extra_rdoc_files: []
158
158
  files:
159
- - .gitignore
160
- - .travis.yml
161
- - .yardopts
159
+ - ".gitignore"
160
+ - ".travis.yml"
161
+ - ".yardopts"
162
162
  - CONTRIBUTING.md
163
163
  - DEVELOPING.md
164
164
  - Gemfile
@@ -170,6 +170,7 @@ files:
170
170
  - doc/OpenTok/ArchiveList.html
171
171
  - doc/OpenTok/Archives.html
172
172
  - doc/OpenTok/Client.html
173
+ - doc/OpenTok/HashExtensions.html
173
174
  - doc/OpenTok/OpenTok.html
174
175
  - doc/OpenTok/OpenTokArchiveError.html
175
176
  - doc/OpenTok/OpenTokAuthenticationError.html
@@ -192,6 +193,7 @@ files:
192
193
  - doc/js/jquery.js
193
194
  - doc/method_list.html
194
195
  - doc/top-level-namespace.html
196
+ - lib/extensions/hash.rb
195
197
  - lib/opentok.rb
196
198
  - lib/opentok/archive.rb
197
199
  - lib/opentok/archive_list.rb
@@ -224,16 +226,20 @@ files:
224
226
  - sample/HelloWorld/public/js/helloworld.js
225
227
  - sample/HelloWorld/views/index.erb
226
228
  - spec/cassettes/OpenTok_Archives/should_create_archives.yml
229
+ - spec/cassettes/OpenTok_Archives/should_create_audio_only_archives.yml
230
+ - spec/cassettes/OpenTok_Archives/should_create_individual_archives.yml
227
231
  - spec/cassettes/OpenTok_Archives/should_create_named_archives.yml
228
232
  - spec/cassettes/OpenTok_Archives/should_delete_an_archive_by_id.yml
229
233
  - spec/cassettes/OpenTok_Archives/should_find_archives_by_id.yml
230
234
  - spec/cassettes/OpenTok_Archives/should_find_archives_with_unknown_properties.yml
231
235
  - spec/cassettes/OpenTok_Archives/should_find_expired_archives.yml
236
+ - spec/cassettes/OpenTok_Archives/should_find_paused_archives_by_id.yml
232
237
  - spec/cassettes/OpenTok_Archives/should_stop_archives.yml
233
238
  - spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_all_archives.yml
234
239
  - spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_archives_with_an_offset.yml
235
240
  - spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
236
241
  - spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_part_of_the_archives_when_using_offset_and_count.yml
242
+ - spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_always_archived_sessions.yml
237
243
  - spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_default_sessions.yml
238
244
  - spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions.yml
239
245
  - spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_for_invalid_media_modes.yml
@@ -258,32 +264,36 @@ require_paths:
258
264
  - lib
259
265
  required_ruby_version: !ruby/object:Gem::Requirement
260
266
  requirements:
261
- - - '>='
267
+ - - ">="
262
268
  - !ruby/object:Gem::Version
263
269
  version: '0'
264
270
  required_rubygems_version: !ruby/object:Gem::Requirement
265
271
  requirements:
266
- - - '>='
272
+ - - ">="
267
273
  - !ruby/object:Gem::Version
268
274
  version: '0'
269
275
  requirements: []
270
276
  rubyforge_project:
271
- rubygems_version: 2.0.14
277
+ rubygems_version: 2.4.5
272
278
  signing_key:
273
279
  specification_version: 4
274
280
  summary: Ruby gem for the OpenTok API
275
281
  test_files:
276
282
  - spec/cassettes/OpenTok_Archives/should_create_archives.yml
283
+ - spec/cassettes/OpenTok_Archives/should_create_audio_only_archives.yml
284
+ - spec/cassettes/OpenTok_Archives/should_create_individual_archives.yml
277
285
  - spec/cassettes/OpenTok_Archives/should_create_named_archives.yml
278
286
  - spec/cassettes/OpenTok_Archives/should_delete_an_archive_by_id.yml
279
287
  - spec/cassettes/OpenTok_Archives/should_find_archives_by_id.yml
280
288
  - spec/cassettes/OpenTok_Archives/should_find_archives_with_unknown_properties.yml
281
289
  - spec/cassettes/OpenTok_Archives/should_find_expired_archives.yml
290
+ - spec/cassettes/OpenTok_Archives/should_find_paused_archives_by_id.yml
282
291
  - spec/cassettes/OpenTok_Archives/should_stop_archives.yml
283
292
  - spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_all_archives.yml
284
293
  - spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_archives_with_an_offset.yml
285
294
  - spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_count_number_of_archives.yml
286
295
  - spec/cassettes/OpenTok_Archives/when_many_archives_are_created/should_return_part_of_the_archives_when_using_offset_and_count.yml
296
+ - spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_always_archived_sessions.yml
287
297
  - spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_default_sessions.yml
288
298
  - spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions.yml
289
299
  - spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_for_invalid_media_modes.yml