Commit 4deae0ab authored by Rajendra Kadam's avatar Rajendra Kadam Committed by Peter Leitzen

Remove duplicate expect for meber specs

parent 919fd2dc
......@@ -410,7 +410,6 @@ RSpec/RepeatedExample:
- 'spec/models/ability_spec.rb'
- 'spec/models/ci/build_spec.rb'
- 'spec/models/concerns/issuable_spec.rb'
- 'spec/models/member_spec.rb'
- 'spec/models/project_services/chat_message/pipeline_message_spec.rb'
- 'spec/models/wiki_page_spec.rb'
- 'spec/routing/admin_routing_spec.rb'
......
---
title: Refactor duplicate member specs
merge_request: 28574
author: Rajendra Kadam
type: added
......@@ -38,10 +38,6 @@ describe Member do
expect(member).not_to be_valid
end
it "is valid otherwise" do
expect(member).to be_valid
end
end
context "when an invite email is not provided" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment