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