Permalink
Browse files

fixing bug -- should be VotesController (not test) and inherit from

ApplicationController
  • Loading branch information...
1 parent ee250fd commit 00218ffa5b951107208107503fc1f162893da4b7 Gregory Tomei committed Nov 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lessons/14.yaml
View
@@ -25,7 +25,7 @@ steps: |
Add the following method to `Vote` in `app/controllers/votes_controller.rb`:
<pre class="code">
- class VotesControllerTest < ActionController::TestCase
+ class VotesController < ApplicationController
def create
topic = Topic.find(params[:topic_id])
vote = topic.votes.build

0 comments on commit 00218ff

Please sign in to comment.