Sha256: 11d8c405baf4f9f7b4180a7642a57c9b4469da06844b6f52182cd3e710bfbac7
Contents?: true
Size: 320 Bytes
Versions: 8
Compression:
Stored size: 320 Bytes
Contents
# encoding: UTF-8 require 'spec_helper' describe Anvil::Parser do let(:task) { DummyTask } describe '#from' do before do task.stub(:parser_block).and_return(proc { 'opts' }) end it 'inherits parser block from another task' do expect(subject.from('dummy')).to eq('opts') end end end
Version data entries
8 entries across 8 versions & 1 rubygems