Skip to content

Instantly share code, notes, and snippets.

@zackn9ne
Created July 7, 2014 22:59
Show Gist options
  • Save zackn9ne/727c80f46aa6f6666bce to your computer and use it in GitHub Desktop.
Save zackn9ne/727c80f46aa6f6666bce to your computer and use it in GitHub Desktop.
js combo developing console tests
blog_post_1
blog_post_1.attributes
post_view
blog_post_1.set('title', 'ruminations');
post_view.render()
blog_post_1.attributes
blog_post_1.set('name', 'ruminations');
post_view.render()
$("#added").html(post_view.render())
@zackn9ne
Copy link
Author

zackn9ne commented Jul 7, 2014

awesome ways to test a model called blog_post_1 & a view called post_view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment