summaryrefslogtreecommitdiff
path: root/spec/models/protected_branch_spec.rb
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2017-05-18 18:25:50 +0200
committerRémy Coutable <remy@rymai.me>2017-05-18 18:25:50 +0200
commitd900f19dfa15073e43150f9fab6495ad09ca6f9a (patch)
tree227245d5593751d89e80c367a54b54c0b451bc85 /spec/models/protected_branch_spec.rb
parent4de3d0b1bea5066e772ad6a7d02614d907594f17 (diff)
downloadgitlab-ce-d900f19dfa15073e43150f9fab6495ad09ca6f9a.tar.gz
Enable the RSpec/EmptyExampleGroup coprubocop-empty-example-group
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/models/protected_branch_spec.rb')
-rw-r--r--spec/models/protected_branch_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/models/protected_branch_spec.rb b/spec/models/protected_branch_spec.rb
index 179a443c43d..ca347cf92c9 100644
--- a/spec/models/protected_branch_spec.rb
+++ b/spec/models/protected_branch_spec.rb
@@ -7,9 +7,6 @@ describe ProtectedBranch, models: true do
it { is_expected.to belong_to(:project) }
end
- describe "Mass assignment" do
- end
-
describe 'Validation' do
it { is_expected.to validate_presence_of(:project) }
it { is_expected.to validate_presence_of(:name) }