Skip to content

Instantly share code, notes, and snippets.

@bradleypriest
Created February 11, 2013 20:35
Show Gist options
  • Save bradleypriest/4757376 to your computer and use it in GitHub Desktop.
Save bradleypriest/4757376 to your computer and use it in GitHub Desktop.
#= require spec_helper
#= require models/user
describe "User", ->
beforeEach ->
@user = App.User.createRecord
firstName: 'Bart'
lastName: 'Simpson'
roles: 'user,admin'
describe "name", ->
it "has a first name", ->
expect(@user.get('firstName')).to.equal 'Bart'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment