Permalink
Browse files

Change class name and parent to controller.

  • Loading branch information...
1 parent ee250fd commit 9ceda9fc1af8aa6f5f6300917d7e5a521b0f433d @nuclearsandwich nuclearsandwich committed Nov 16, 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 9ceda9f

Please sign in to comment.