Skip to content

Commit 1e7cedb

Browse files
author
Chris Park
committed
Merge branch 'develop'
2 parents 48c1243 + 08f6612 commit 1e7cedb

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

tests/tests_spec.rb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
'User-Agent' => 'Ruby',
1919
'X-Rosetteapi-Key' => '0123456789',
2020
'X-Rosetteapi-Binding' => 'ruby',
21-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
21+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
2222
to_return(status: 200, body: {'test': 'language'}.to_json, headers: {})
2323
end
2424
it 'test language' do
@@ -55,7 +55,7 @@
5555
'User-Agent' => 'Ruby',
5656
'X-Rosetteapi-Key' => '0123456789',
5757
'X-Rosetteapi-Binding' => 'ruby',
58-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
58+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
5959
to_return(status: 200, body: {'test': 'morphology/complete'}.to_json, headers: {})
6060
end
6161
it 'test morphology complete' do
@@ -77,7 +77,7 @@
7777
'User-Agent' => 'Ruby',
7878
'X-Rosetteapi-Key' => '0123456789',
7979
'X-Rosetteapi-Binding' => 'ruby',
80-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
80+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
8181
to_return(status: 200, body: {'test': 'morphology/compound-components'}.to_json, headers: {})
8282
end
8383
it 'test morphology compound components' do
@@ -99,7 +99,7 @@
9999
'User-Agent' => 'Ruby',
100100
'X-Rosetteapi-Key' => '0123456789',
101101
'X-Rosetteapi-Binding' => 'ruby',
102-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
102+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
103103
to_return(status: 200, body: {'test': 'morphology/han-readings'}.to_json, headers: {})
104104
end
105105
it 'test morphology han readings' do
@@ -121,7 +121,7 @@
121121
'User-Agent' => 'Ruby',
122122
'X-Rosetteapi-Key' => '0123456789',
123123
'X-Rosetteapi-Binding' => 'ruby',
124-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
124+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
125125
to_return(status: 200, body: {'test': 'morphology/parts-of-speech'}.to_json, headers: {})
126126
end
127127
it 'test morphology parts of speech' do
@@ -143,7 +143,7 @@
143143
'User-Agent' => 'Ruby',
144144
'X-Rosetteapi-Key' => '0123456789',
145145
'X-Rosetteapi-Binding' => 'ruby',
146-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
146+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
147147
to_return(status: 200, body: {'test': 'morphology/lemmas'}.to_json, headers: {})
148148
end
149149
it 'test morphology lemmas' do
@@ -165,7 +165,7 @@
165165
'User-Agent' => 'Ruby',
166166
'X-Rosetteapi-Key' => '0123456789',
167167
'X-Rosetteapi-Binding' => 'ruby',
168-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
168+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
169169
to_return(status: 200, body: {'test': 'entities'}.to_json, headers: {})
170170
end
171171
it 'test entities' do
@@ -188,7 +188,7 @@
188188
'User-Agent' => 'Ruby',
189189
'X-Rosetteapi-Key' => '0123456789',
190190
'X-Rosetteapi-Binding' => 'ruby',
191-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
191+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
192192
to_return(status: 200, body: {'test': 'entities'}.to_json, headers: {})
193193
end
194194
it 'test entities without qids' do
@@ -220,7 +220,7 @@
220220
'User-Agent' => 'Ruby',
221221
'X-Rosetteapi-Key' => '0123456789',
222222
'X-Rosetteapi-Binding' => 'ruby',
223-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
223+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
224224
to_return(status: 200, body: {'test': 'categories'}.to_json, headers: {})
225225
end
226226
it 'test categories' do
@@ -242,7 +242,7 @@
242242
'User-Agent' => 'Ruby',
243243
'X-Rosetteapi-Key' => '0123456789',
244244
'X-Rosetteapi-Binding' => 'ruby',
245-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
245+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
246246
to_return(status: 200, body: {'test': 'relationships'}.to_json, headers: {})
247247
end
248248
it 'test relationships' do
@@ -264,7 +264,7 @@
264264
'User-Agent' => 'Ruby',
265265
'X-Rosetteapi-Key' => '0123456789',
266266
'X-Rosetteapi-Binding' => 'ruby',
267-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
267+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
268268
to_return(status: 200, body: {'test': 'name-translation'}.to_json, headers: {})
269269
end
270270
it 'test name translation' do
@@ -291,7 +291,7 @@
291291
'User-Agent' => 'Ruby',
292292
'X-Rosetteapi-Key' => '0123456789',
293293
'X-Rosetteapi-Binding' => 'ruby',
294-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
294+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
295295
to_return(status: 200, body: {'test': 'name-similarity'}.to_json, headers: {})
296296
end
297297
it 'test name similarity' do
@@ -327,7 +327,7 @@
327327
'User-Agent' => 'Ruby',
328328
'X-Rosetteapi-Key' => '0123456789',
329329
'X-Rosetteapi-Binding' => 'ruby',
330-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
330+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
331331
to_return(status: 200, body: {'test': 'tokens'}.to_json, headers: {})
332332
end
333333
it 'test tokens' do
@@ -349,7 +349,7 @@
349349
'User-Agent' => 'Ruby',
350350
'X-Rosetteapi-Key' => '0123456789',
351351
'X-Rosetteapi-Binding' => 'ruby',
352-
'X-Rosetteapi-Binding-Version' => '1.1.1'}).
352+
'X-Rosetteapi-Binding-Version' => '1.2.0'}).
353353
to_return(status: 200, body: {'test': 'sentences'}.to_json, headers: {})
354354
end
355355
it 'test sentences' do
@@ -404,7 +404,7 @@
404404
'User-Agent' => 'Ruby',
405405
'X-Rosetteapi-Key' => '0123456789',
406406
'X-Rosetteapi-Binding' => 'ruby',
407-
'X-Rosetteapi-Binding-Version' => '1.1.1',
407+
'X-Rosetteapi-Binding-Version' => '1.2.0',
408408
'X-RosetteApi-App' => 'ruby-app'}).
409409
to_return(status: 200, body: {'test': 'language'}.to_json, headers: {})
410410
end

0 commit comments

Comments
 (0)