Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/buffered_io_spec.rb')
-rw-r--r--spec/lib/gitlab/buffered_io_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/buffered_io_spec.rb b/spec/lib/gitlab/buffered_io_spec.rb
index c6939b819e2..0ec377550c1 100644
--- a/spec/lib/gitlab/buffered_io_spec.rb
+++ b/spec/lib/gitlab/buffered_io_spec.rb
@@ -12,7 +12,7 @@ RSpec.describe Gitlab::BufferedIo do
end
subject(:readuntil) do
- Gitlab::BufferedIo.new(mock_io).readuntil('a', false, start_time)
+ described_class.new(mock_io).readuntil('a', false, start_time)
end
it 'does not raise a timeout error' do
@@ -38,7 +38,7 @@ RSpec.describe Gitlab::BufferedIo do
context 'when not passing start_time' do
subject(:readuntil) do
- Gitlab::BufferedIo.new(mock_io).readuntil('a', false)
+ described_class.new(mock_io).readuntil('a', false)
end
it 'raises a timeout error' do