Commit f9f6c771 authored by Jake Hartnell's avatar Jake Hartnell Committed by Randall Leeds

Restore and modify needed test.

Clean up and delete a few unneeded things.
parent b11f99a8
...@@ -97,6 +97,29 @@ describe 'h.directives.annotation', -> ...@@ -97,6 +97,29 @@ describe 'h.directives.annotation', ->
afterEach -> afterEach ->
sandbox.restore() sandbox.restore()
describe 'when the annotation is a highlight', ->
beforeEach ->
annotation.$create = sinon.stub().returns
then: angular.noop
catch: angular.noop
finally: angular.noop
it 'persists upon login', ->
delete annotation.id
delete annotation.user
controller = createController()
$scope.$digest()
assert.notCalled annotation.$create
annotation.user = 'acct:ted@wyldstallyns.com'
$scope.$digest()
assert.calledOnce annotation.$create
it 'is private', ->
delete annotation.id
controller = createController()
$scope.$digest()
assert.deepEqual annotation.permissions, {read: ['justme']}
describe '#reply', -> describe '#reply', ->
controller = null controller = null
container = null container = null
......
...@@ -35,11 +35,6 @@ ...@@ -35,11 +35,6 @@
font-size: 1.5em; font-size: 1.5em;
} }
.help-page-heading,
.help-page-lede {
// text-align: center;
}
.help-page-lede { .help-page-lede {
font-style: italic; font-style: italic;
margin-bottom: 2.5em; margin-bottom: 2.5em;
......
...@@ -35,7 +35,7 @@ $link-color-hover: $hypothered !default; ...@@ -35,7 +35,7 @@ $link-color-hover: $hypothered !default;
// Typography // Typography
// ------------------------- // -------------------------
$sans-font-family: "Lato","Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif !default; $sans-font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif !default;
$serif-font-family: Georgia, "Bitstream Charter", "Times", "Times New Roman", serif !default; $serif-font-family: Georgia, "Bitstream Charter", "Times", "Times New Roman", serif !default;
$mono-font-family: Open Sans Mono, Menlo, DejaVu Sans Mono, monospace !default; $mono-font-family: Open Sans Mono, Menlo, DejaVu Sans Mono, monospace !default;
......
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