Skip to content

Commit

Permalink
GHI-#50 Implement specs
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Dec 10, 2016
1 parent fead87d commit 87d4fb7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/ui-font-size-spec.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
describe "Nord Atom UI theme", ->
beforeEach ->
waitsForPromise ->
atom.packages.activatePackage('nord-atom-ui')

it "allows to change the UI font size to be set via theme settings", ->
expect(document.documentElement.style.fontSize).toBe '14px'

atom.config.set('nord-atom-ui.uiFontSize', '10')
expect(document.documentElement.style.fontSize).toBe '10px'

0 comments on commit 87d4fb7

Please sign in to comment.