summaryrefslogtreecommitdiff
path: root/spec/models/protected_branch_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/protected_branch_spec.rb')
-rw-r--r--spec/models/protected_branch_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index f7c723cd134..366de809bed 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -324,4 +324,10 @@ RSpec.describe ProtectedBranch do
.to match_array([branch_id])
end
end
+
+ describe '.downcase_humanized_name' do
+ it 'returns downcase humanized name' do
+ expect(described_class.downcase_humanized_name).to eq 'protected branch'
+ end
+ end
end