Skip to content
This repository has been archived by the owner on Apr 26, 2018. It is now read-only.

Commit

Permalink
💄
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansobo committed Apr 13, 2012
1 parent e8a79ee commit f0ac76f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions space-pen-spec.coffee
Expand Up @@ -3,7 +3,7 @@ describe "View", ->

describe "View objects", ->
beforeEach ->
Subview = class extends View
class Subview extends View
@content: (params, otherArg) ->
@div =>
@h2 { outlet: "header" }, params.title + " " + otherArg
Expand All @@ -12,7 +12,7 @@ describe "View", ->
initialize: (args...) ->
@initializeCalledWith = args

TestView = class extends View
class TestView extends View
@content: (params, otherArg) ->
@div keydown: 'viewClicked', class: 'rootDiv', =>
@h1 { outlet: 'header' }, params.title + " " + otherArg
Expand Down Expand Up @@ -98,7 +98,7 @@ describe "View", ->
contentCalledWith = null
initializeCalledWith = null

TestView = class extends View
class TestView extends View
@content: (params) ->
contentCalledWith = params
@div()
Expand All @@ -112,7 +112,7 @@ describe "View", ->
expect(initializeCalledWith).toEqual {}

it "throws an exception if the view has more than one root element", ->
BadView = class extends View
class BadView extends View
@content: ->
@div id: 'one'
@div id: 'two'
Expand Down

0 comments on commit f0ac76f

Please sign in to comment.