Implement pending tests (#11415)
parent
5119a0608d
commit
3332cfcc23
@ -1,5 +1,13 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'rails_helper'
|
require 'rails_helper'
|
||||||
|
|
||||||
RSpec.describe PollVote, type: :model do
|
RSpec.describe PollVote, type: :model do
|
||||||
pending "add some examples to (or delete) #{__FILE__}"
|
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
|
end
|
||||||
|
Loading…
Reference in new issue