```ruby
require 'rails_helper'

describe VotesController do
  describe '#create' do
    before :each do
      @user = FactoryGirl.create(:user)
      @question = FactoryGirl.create(:question)
      @question.votes.create(user_id: @user.id, upvote: true)
    end

    it 'creates a vote record with the correct user_id' do
      expect(@question.votes.last.user_id).to eq(@user.id)
    end

    it 'creates a vote record with the correct question_id' do
      expect(@question.votes.last.votable_id).to eq(@question.id)
    end

    it 'creates a vote record with the upvote attribute as true' do
      expect(@question.votes.last.upvote).to eq(true)
    end

    it 'adds the vote to the votes table in the db' do
      expect{@question.votes.create(user_id: @user.id, upvote: true)}.to change{Vote.count}.by(1)
    end
  end
end
```

Tweak spec language to reflect new semantics (no actual tests changed).
user
```ruby
require 'rails_helper'

describe VotesController do
  describe '#upvote' do
    before :each do
      @user = FactoryGirl.create(:user)
      @question = FactoryGirl.create(:question)
      @question.votes.create(user_id: @user.id, upvote: true)
    end

    it 'creates a vote record with the correct user_id' do
      expect(@question.votes.last.user_id).to eq(@user.id)
    end

    it 'creates a vote record with the correct question_id' do
      expect(@question.votes.last.votable_id).to eq(@question.id)
    end

    it 'creates a vote record with the upvote attribute as true' do
      expect(@question.votes.last.upvote).to eq(true)
    end

    it 'adds the vote to the votes table in the db' do
      expect{@question.votes.create(user_id: @user.id, upvote: true)}.to change{Vote.count}.by(1)
    end
  end
end
```
assistant