Skip to content

Commit 74f383c

Browse files
committed
Remove a useless context
1 parent f26e7af commit 74f383c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

spec/jsonrpc/batch_request_spec.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,12 +347,10 @@
347347
end
348348

349349
describe '#size' do
350-
context 'when batch contains requests' do
351-
it 'returns the number of requests in the batch' do
352-
batch = described_class.new([add_request, notify_notification, subtract_request])
350+
it 'returns the number of requests in the batch' do
351+
batch = described_class.new([add_request, notify_notification, subtract_request])
353352

354-
expect(batch.size).to eq(3)
355-
end
353+
expect(batch.size).to eq(3)
356354
end
357355
end
358356

0 commit comments

Comments
 (0)