Sha256: 9acfa0d1741d8e4128b6ec75715eea48c1d6b83830e900e3912f75a9f88a07c0
Contents?: true
Size: 395 Bytes
Versions: 22
Compression:
Stored size: 395 Bytes
Contents
describe Nanoc::MutableConfigView do let(:config) { {} } let(:view) { described_class.new(config, nil) } describe '#[]=' do it 'sets attributes' do view[:awesomeness] = 'rather high' expect(config[:awesomeness]).to eq('rather high') end end describe '#inspect' do subject { view.inspect } it { is_expected.to eql('<Nanoc::MutableConfigView>') } end end
Version data entries
22 entries across 22 versions & 1 rubygems