Sha256: 5e8354bb0c5dc1104f0c74093fcfcd5c67dc246367db0437141f24c5025e4fcb
Contents?: true
Size: 402 Bytes
Versions: 90
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true RSpec.shared_examples 'a gallery' do describe '#images' do subject { gallery.images } it { is_expected.to be_empty } context 'there are images' do include_context 'has multiple images' it 'has the associated images' do expect(subject.map(&:id)). to match_array([first_image.id, second_image.id]) end end end end
Version data entries
90 entries across 90 versions & 1 rubygems