diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-06 06:07:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-06-06 06:07:26 +0300 |
commit | 5e448ff06309854c838fb5eaa46fd05ebc5218ab (patch) | |
tree | 0fd59db933c6f11053028559a8f6fc2e2b050f6e /spec/support | |
parent | bdad4dd5dabec7a0a611d5241fa2d56359884420 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb | 2 | ||||
-rw-r--r-- | spec/support/shared_examples/lib/sentry/client_shared_examples.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb b/spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb index 7725366d565..91cacaf9209 100644 --- a/spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb +++ b/spec/support/shared_examples/features/wiki/user_updates_wiki_page_shared_examples.rb @@ -248,7 +248,7 @@ RSpec.shared_examples 'User updates wiki page' do click_on 'Save changes' expect(page).to have_content('The form contains the following error:') - expect(page).to have_content('Content is too long (11 Bytes). The maximum size is 10 Bytes.') + expect(page).to have_content('Content is too long (11 B). The maximum size is 10 B.') end end end diff --git a/spec/support/shared_examples/lib/sentry/client_shared_examples.rb b/spec/support/shared_examples/lib/sentry/client_shared_examples.rb index fa3e9bf5340..842801708d0 100644 --- a/spec/support/shared_examples/lib/sentry/client_shared_examples.rb +++ b/spec/support/shared_examples/lib/sentry/client_shared_examples.rb @@ -92,7 +92,7 @@ RSpec.shared_examples 'Sentry API response size limit' do it 'raises an exception when response is too large' do expect { subject }.to raise_error( ErrorTracking::SentryClient::ResponseInvalidSizeError, - 'Sentry API response is too big. Limit is 1 MB.' + 'Sentry API response is too big. Limit is 1 MiB.' ) end end |