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/peek/views/memory_spec.rb')
-rw-r--r--spec/lib/peek/views/memory_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/peek/views/memory_spec.rb b/spec/lib/peek/views/memory_spec.rb
index 1f88aadfc54..9532ef04c54 100644
--- a/spec/lib/peek/views/memory_spec.rb
+++ b/spec/lib/peek/views/memory_spec.rb
@@ -17,12 +17,12 @@ RSpec.describe Peek::Views::Memory, :request_store do
it 'returns memory instrumentation data when it has fired' do
publish_notification
- expect(subject.results[:calls]).to eq('2 MB')
+ expect(subject.results[:calls]).to eq('2 MiB')
expect(subject.results[:details]).to all(have_key(:item_header))
expect(subject.results[:details]).to all(have_key(:item_content))
expect(subject.results[:summary]).to include('Objects allocated' => '200 k')
expect(subject.results[:summary]).to include('Allocator calls' => '500')
- expect(subject.results[:summary]).to include('Large allocations' => '1 KB')
+ expect(subject.results[:summary]).to include('Large allocations' => '1 KiB')
end
end