Implement pending tests (#11415)

This commit is contained in:
ysksn authored and Eugen Rochko committed 2019-07-27 10:24:26 +02:00
1 parent 8a4674f2c3
commit d6ada2eb30
2 files changed
+36 -2

No files matched your search

+9 -1
View File
@@ -1,5 +1,13 @@
# frozen_string_literal: true
require 'rails_helper'
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