Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backbone test pattern

See docs/1.md

Components

  • coffee-script
  • browserify
  • mocha-phantomjs

Build

npm install
bower install
grunt build

Test

$ grunt test
  View
    #constructor
      with model property x is foo
        ✓ should render by handlebars with model properties 
    #attach
      ✓ should append itself to jQuery element 

  ContentView
    ✓ should request content foo 
    #showContent
      ✓ should show content 
    #hideContent
      ✓ should hide content 
    #saveContent
      ✓ should save content to localStorage 

  Content
    #fetch
      ✓ should request to /content 


  7 passing (62ms)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages