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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
34254e1d
Commit
34254e1d
authored
Oct 27, 2017
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove extra whitespace
parent
a2894b7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/models/email_spec.rb
spec/models/email_spec.rb
+2
-2
No files found.
spec/models/email_spec.rb
View file @
34254e1d
...
@@ -40,10 +40,10 @@ describe Email do
...
@@ -40,10 +40,10 @@ describe Email do
expect
(
user
.
emails
.
confirmed
.
count
).
to
eq
1
expect
(
user
.
emails
.
confirmed
.
count
).
to
eq
1
end
end
end
end
describe
'delegation'
do
describe
'delegation'
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:user
)
{
create
(
:user
)
}
it
'delegates to :user'
do
it
'delegates to :user'
do
expect
(
build
(
:email
,
user:
user
).
username
).
to
eq
user
.
username
expect
(
build
(
:email
,
user:
user
).
username
).
to
eq
user
.
username
end
end
...
...
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