diff --git a/spec/shale/type/complex_spec/with_default_mapping_spec.rb b/spec/shale/type/complex_spec/with_default_mapping_spec.rb index 9b6f85d..27435e6 100644 --- a/spec/shale/type/complex_spec/with_default_mapping_spec.rb +++ b/spec/shale/type/complex_spec/with_default_mapping_spec.rb @@ -313,7 +313,7 @@ class ParentCsv < Shale::Mapper end it 'accepts extra options' do - instance = mapper.from_yaml(yaml, aliases: true) + instance = mapper.from_yaml(yaml, fallback: false) expect(instance.one).to eq('foo') end end @@ -341,7 +341,7 @@ class ParentCsv < Shale::Mapper it 'accepts extra options' do instance = mapper.new(one: 'foo', two: nil) - expect(instance.to_yaml(aliases: true)).to eq("---\none: foo\n") + expect(instance.to_yaml(indentation: 2)).to eq("---\none: foo\n") end end end