mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 03:59:03 +01:00
13 lines
270 B
Ruby
13 lines
270 B
Ruby
# 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
|