Skip to content

Commit

Permalink
Consolidate some controller tests to improve test suite performance
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Oct 11, 2016
1 parent 91c5819 commit 8a10fb3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/controllers/dashboard_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,7 @@
get :index
expect(response).to be_successful
expect(assigns(:user)).to eq(user)
end

it "gathers the user's recent activity" do
get :index
expect(assigns(:activity)).to be_empty
end

it "gathers the user's notifications" do
get :index
expect(assigns(:notifications)).to be_truthy
end

Expand Down

0 comments on commit 8a10fb3

Please sign in to comment.