generator-ember-plus
Version:
Yeoman generator for Ember with added functionality
13 lines (10 loc) • 464 B
text/coffeescript
describe "Index page", ->
it "displays a welcome message", ->
visit('/').then ->
find('div.well').text().should.contain 'Welcome to Yeoman and Ember.js'
describe "ApplicationRoute", ->
describe "model property", ->
applicationRoute = <%= _.classify(appname) %>.ApplicationRoute.create()
it "should have the right number of items", ->
model = applicationRoute.model()
model.should.have.length 3