Sha256: 0225cf9dd2ccf9eb5807c161584615858b3b83ca07d01def5e3a2f4caeec5cc1
Contents?: true
Size: 350 Bytes
Versions: 5
Compression:
Stored size: 350 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' require 'support/shared_context/with_database_records' RSpec.describe Voting::Extension, '.voting' do include_context 'with_database_records' it 'returns all voting of this resource' do expect(comment_1.voting_records).to match_array Voting::Voting.where(resource: comment_1) end end
Version data entries
5 entries across 5 versions & 1 rubygems