Commit 7c5e813f authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'refactor-member-spec' into 'master'

Remove duplicate expect for meber specs

See merge request gitlab-org/gitlab!28574
parents b6d5f331 4deae0ab
...@@ -410,7 +410,6 @@ RSpec/RepeatedExample: ...@@ -410,7 +410,6 @@ RSpec/RepeatedExample:
- 'spec/models/ability_spec.rb' - 'spec/models/ability_spec.rb'
- 'spec/models/ci/build_spec.rb' - 'spec/models/ci/build_spec.rb'
- 'spec/models/concerns/issuable_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/project_services/chat_message/pipeline_message_spec.rb'
- 'spec/routing/admin_routing_spec.rb' - 'spec/routing/admin_routing_spec.rb'
- 'spec/rubocop/cop/migration/update_large_table_spec.rb' - 'spec/rubocop/cop/migration/update_large_table_spec.rb'
......
---
title: Refactor duplicate member specs
merge_request: 28574
author: Rajendra Kadam
type: added
...@@ -38,10 +38,6 @@ describe Member do ...@@ -38,10 +38,6 @@ describe Member do
expect(member).not_to be_valid expect(member).not_to be_valid
end end
it "is valid otherwise" do
expect(member).to be_valid
end
end end
context "when an invite email is not provided" do 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