Sha256: 9d0959b966e7ab24e85e4c9d1dccf170605059829b6d132695436cfc3ce6918a
Contents?: true
Size: 342 Bytes
Versions: 5
Compression:
Stored size: 342 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' require 'support/shared_context/with_database_records' RSpec.describe Voting::Extension, '.voted_records' do include_context 'with_database_records' it 'returns all votes that this author gave' do expect(author_1.voted_records).to match_array [vote_1, vote_4, vote_7] end end
Version data entries
5 entries across 5 versions & 1 rubygems