You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
glitchier-soc/spec/models/poll_vote_spec.rb

14 lines
270 B

# frozen_string_literal: true
require 'rails_helper'
RSpec.describe PollVote, type: :model do
describe '#object_type' do
let(:poll_vote) { Fabricate.build(:poll_vote) }
it 'returns :vote' do
expect(poll_vote.object_type).to eq :vote
end
end
end