spec/rake/funnel/support/mapper_spec.rb in rake-funnel-0.21.2 vs spec/rake/funnel/support/mapper_spec.rb in rake-funnel-0.22.0

- old
+ new

@@ -15,11 +15,11 @@ skip('for manual testing only') end end class CustomMapper - def generate_from(_) + def generate_from(_ignored) [ ['-', 'switch'], ['-', :some_switch], ['-', :another_switch, '=', :some_value], ['-string switch', '=', 'string value'] @@ -38,11 +38,11 @@ end describe 'mapper style' do context 'default mapper' do it 'should use default mapper' do - expect(described_class.new).to be + expect(described_class.new).to be_kind_of(described_class) end end context 'unknown mapper' do it 'should fail' do @@ -57,10 +57,10 @@ end end context 'custom mapper' do it 'should take custom mapper instance' do - expect(described_class.new(CustomMapper.new)).to be + expect(described_class.new(CustomMapper.new)).to be_kind_of(described_class) end end end describe 'mapper output' do