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/models/wiki_page_spec.rb')
-rw-r--r--spec/models/wiki_page_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/wiki_page_spec.rb b/spec/models/wiki_page_spec.rb
index efade74688a..c626f98f874 100644
--- a/spec/models/wiki_page_spec.rb
+++ b/spec/models/wiki_page_spec.rb
@@ -230,7 +230,7 @@ RSpec.describe WikiPage do
expect(subject).not_to be_valid
expect(subject.errors.messages).to eq(
- content: ['is too long (11 Bytes). The maximum size is 10 Bytes.']
+ content: ['is too long (11 B). The maximum size is 10 B.']
)
end
@@ -239,7 +239,7 @@ RSpec.describe WikiPage do
expect(subject).not_to be_valid
expect(subject.errors.messages).to eq(
- content: ['is too long (12 Bytes). The maximum size is 10 Bytes.']
+ content: ['is too long (12 B). The maximum size is 10 B.']
)
end
end
@@ -261,7 +261,7 @@ RSpec.describe WikiPage do
expect(subject).not_to be_valid
expect(subject.errors.messages).to eq(
- content: ['is too long (12 Bytes). The maximum size is 11 Bytes.']
+ content: ['is too long (12 B). The maximum size is 11 B.']
)
end
end