Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4deae0ab
Commit
4deae0ab
authored
Apr 01, 2020
by
Rajendra Kadam
Committed by
Peter Leitzen
Apr 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate expect for meber specs
parent
919fd2dc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
.rubocop.yml
.rubocop.yml
+0
-1
changelogs/unreleased/refactor-member-spec.yml
changelogs/unreleased/refactor-member-spec.yml
+5
-0
spec/models/member_spec.rb
spec/models/member_spec.rb
+0
-4
No files found.
.rubocop.yml
View file @
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/models/wiki_page_spec.rb'
-
'
spec/models/wiki_page_spec.rb'
-
'
spec/routing/admin_routing_spec.rb'
-
'
spec/routing/admin_routing_spec.rb'
...
...
changelogs/unreleased/refactor-member-spec.yml
0 → 100644
View file @
4deae0ab
---
title
:
Refactor duplicate member specs
merge_request
:
28574
author
:
Rajendra Kadam
type
:
added
spec/models/member_spec.rb
View file @
4deae0ab
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment