Skip to content

Commit

Permalink
Add Dashboard.EventsController
Browse files Browse the repository at this point in the history
  • Loading branch information
pangratz committed Jul 24, 2012
1 parent 3aabe05 commit cc1af01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/lib/controller.js
Expand Up @@ -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) {
Expand Down
6 changes: 6 additions & 0 deletions app/tests/unit/controller_test.js
Expand Up @@ -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();
Expand Down

0 comments on commit cc1af01

Please sign in to comment.