Sha256: 0b8148989b086dc4b50c53749d55cba1140dc47599c90476cab775fdb998f95a
Contents?: true
Size: 561 Bytes
Versions: 1
Compression:
Stored size: 561 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 '#dogeify' do let(:options) { { ignore: [] } } let(:output) { subject.dogeify(options) } it 'delegates to Dogeify#process for each element' do subject.each do |item| expect_any_instance_of(Dogeify).to receive(:process).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 |
---|---|
dogeify-1.1.0 | spec/core_ext/array_spec.rb |