Skip to content

Instantly share code, notes, and snippets.

@superchris
Created May 15, 2011 17:24
Show Gist options
  • Select an option

  • Save superchris/973337 to your computer and use it in GitHub Desktop.

Select an option

Save superchris/973337 to your computer and use it in GitHub Desktop.
describe "Foo", ->
beforeEach ->
@foo1 = new Foo
@foo2 = new Foo
@foo1.get("bazzes").push "baz"
it "should not put foo1's bazzes in foo2", ->
expect(@foo2.get("bazzes").length).toEqual 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment