Sha256: 69c1ca3042b359f97e57f836d52ab019095020dd9a066acd600d7758b5072e95
Contents?: true
Size: 568 Bytes
Versions: 1
Compression:
Stored size: 568 Bytes
Contents
require 'spec_helper' describe Array do subject { ['My grandmom gave me a sweater for Christmas.', 'I like turtles.', 'I am a banana.'] } describe '#dogerific' do let(:options) { { ignore: [] } } let(:output) { subject.dogerific(options) } it 'delegates to Dogerific#convert for each element' do subject.each do |item| expect_any_instance_of(Dogerific).to receive(:convert).with(item, options).once end output end it 'returns an array of strings' do expect(output).to be_an_array_of String end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dogerific-0.1.0 | spec/core_ext/array_spec.rb |