Permalink
Browse files

new controller snippet

  • Loading branch information...
1 parent e6a5382 commit 80bf3366cd021e2f9e4c616bb5c91322d0951b74 Bruno Grasselli committed Oct 7, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 javascript-jasmine/descc.snippet
@@ -0,0 +1,12 @@
+describe("${1:ControllerName}", function () {
+ var controller, view;
+
+ beforeEach(function () {
+ view = testDouble(${2});
+ controller = new $1({view: view});
+ });
+
+ describe("${3}", function () {
+ ${4}
+ });
+});

0 comments on commit 80bf336

Please sign in to comment.