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
49b0922b
Commit
49b0922b
authored
Mar 28, 2018
by
Tiago Botelho
Committed by
André Luís
Mar 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds documentation about the system header and footer
parent
61ba8a28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
doc/customization/system_header_and_footer_messages/sign_up_custom_header_and_footer.png
..._and_footer_messages/sign_up_custom_header_and_footer.png
+0
-0
ee/spec/helpers/ee/appearances_helper_spec.rb
ee/spec/helpers/ee/appearances_helper_spec.rb
+4
-4
No files found.
doc/customization/system_header_and_footer_messages/sign_up_custom_header_and_foote.png
→
doc/customization/system_header_and_footer_messages/sign_up_custom_header_and_foote
r
.png
View file @
49b0922b
File moved
ee/spec/helpers/ee/appearances_helper_spec.rb
View file @
49b0922b
...
...
@@ -3,7 +3,7 @@ require 'spec_helper'
describe
AppearancesHelper
do
describe
'#header_message'
do
it
'returns nil when header message field is not set'
do
appearance
=
create
(
:appearance
)
create
(
:appearance
)
expect
(
helper
.
header_message
).
to
be_nil
end
...
...
@@ -11,7 +11,7 @@ describe AppearancesHelper do
context
'when header message is set'
do
it
'includes current message'
do
message
=
"Foo bar"
appearance
=
create
(
:appearance
,
header_message:
message
)
create
(
:appearance
,
header_message:
message
)
expect
(
helper
.
header_message
).
to
include
(
message
)
end
...
...
@@ -20,7 +20,7 @@ describe AppearancesHelper do
describe
'#footer_message'
do
it
'returns nil when footer message field is not set'
do
appearance
=
create
(
:appearance
)
create
(
:appearance
)
expect
(
helper
.
footer_message
).
to
be_nil
end
...
...
@@ -28,7 +28,7 @@ describe AppearancesHelper do
context
'when footer message is set'
do
it
'includes current message'
do
message
=
"Foo bar"
appearance
=
create
(
:appearance
,
footer_message:
message
)
create
(
:appearance
,
footer_message:
message
)
expect
(
helper
.
footer_message
).
to
include
(
message
)
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