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
54aa4bff
Commit
54aa4bff
authored
Mar 30, 2018
by
Tiago Botelho
Committed by
André Luís
Mar 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stubs current user to appearances helper specs
parent
e94c9d62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
ee/spec/helpers/ee/appearances_helper_spec.rb
ee/spec/helpers/ee/appearances_helper_spec.rb
+5
-0
No files found.
ee/spec/helpers/ee/appearances_helper_spec.rb
View file @
54aa4bff
require
'spec_helper'
require
'spec_helper'
describe
AppearancesHelper
do
describe
AppearancesHelper
do
before
do
user
=
create
(
:user
)
allow
(
helper
).
to
receive
(
:current_user
).
and_return
(
user
)
end
describe
'#header_message'
do
describe
'#header_message'
do
it
'returns nil when header message field is not set'
do
it
'returns nil when header message field is not set'
do
create
(
:appearance
)
create
(
:appearance
)
...
...
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