Commit de9758d

mo khan <mo@mokhan.ca>
2014-04-09 04:17:25
load dashboard.
1 parent 3399c7a
Changed files (3)
app/controllers/dashboard_controller.rb
@@ -0,0 +1,4 @@
+class DashboardController < ApplicationController
+  def index
+  end
+end
app/views/dashboard/index.html.erb
spec/controllers/dashboard_controller_spec.rb
@@ -0,0 +1,10 @@
+require "spec_helper"
+
+describe DashboardController do
+  context "#index" do
+    it "loads the current user" do
+      get :index
+      assigns(:current_user).should == user
+    end
+  end
+end