Sha256: 84c1fa765c281a6787a0ad0411abb4146189f3417feb9879812e20e0d07c7424
Contents?: true
Size: 577 Bytes
Versions: 22
Compression:
Stored size: 577 Bytes
Contents
describe Nanoc::Int::ProcessingActions::Layout do let(:action) { described_class.new('/foo.erb', awesome: true) } describe '#serialize' do subject { action.serialize } it { is_expected.to eql([:layout, '/foo.erb', 'sJYzLjHGo1e4ytuDfnOLkqrt9QE=']) } end describe '#to_s' do subject { action.to_s } it { is_expected.to eql('layout "/foo.erb", {:awesome=>true}') } end describe '#inspect' do subject { action.inspect } it { is_expected.to eql('<Nanoc::Int::ProcessingActions::Layout "/foo.erb", "sJYzLjHGo1e4ytuDfnOLkqrt9QE=">') } end end
Version data entries
22 entries across 22 versions & 1 rubygems