Sha256: 542fd94e668dadfb1e95efc993b03eeeb89c14bc6ea8b4a2913f931448483e7b
Contents?: true
Size: 451 Bytes
Versions: 3
Compression:
Stored size: 451 Bytes
Contents
RSpec.shared_context 'fixtures' do let(:john) { Friend.new(id: 1, name: 'john', pets: [boingboing, wassup], pet_peeve: regexps) } let(:boingboing) { Pet.new(id: 2, name: 'boingboing', species: 'dog') } let(:wassup) { Pet.new(id: 3, name: 'wassup', species: 'cat') } let(:regexps) { PetPeeve.new(id: 4, type: 'parsing with regexps') } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yaks-0.13.0 | spec/support/fixtures.rb |
yaks-0.12.0 | spec/support/fixtures.rb |
yaks-0.11.0 | spec/support/fixtures.rb |