Permalink
Browse files

Add Dashboard.EventsController

  • Loading branch information...
pangratz committed Jul 24, 2012
1 parent 3aabe05 commit cc1af019dbab170de5958eabc9972f39c8f13b90
Showing with 8 additions and 0 deletions.
  1. +2 −0 app/lib/controller.js
  2. +6 −0 app/tests/unit/controller_test.js
View
@@ -6,6 +6,8 @@ Dashboard.UserController = Ember.Controller.extend();
Dashboard.RepositoryController = Ember.ObjectController.extend();
+Dashboard.EventsController = Ember.ArrayController.extend();
+
Dashboard.RepositoriesController = Ember.ArrayController.extend({
sortProperties: 'full_name'.w(),
loadWatchedRepositories: function(username) {
@@ -8,6 +8,12 @@ test("it exists", function() {
ok(Dashboard.ApplicationController, "it exists");
});
+module("Dashboard.EventsController");
+
+test("it exists", function() {
+ ok(Dashboard.EventsController, "it exists");
+});
+
module("Dashboard.RepositoriesController", {
setup: function() {
controller = Dashboard.RepositoriesController.create();

0 comments on commit cc1af01

Please sign in to comment.