spec/unit/options_validator_spec.rb in loaf-0.7.0 vs spec/unit/options_validator_spec.rb in loaf-0.8.0

- old
+ new

@@ -2,10 +2,10 @@ RSpec.describe Loaf::OptionsValidator, '.valid?' do let(:klass) { Class.extend Loaf::OptionsValidator } it 'validates succesfully known option' do - expect(klass.valid?(crumb_length: 10)).to eq(true) + expect(klass.valid?(match: :exact)).to eq(true) end it 'validates unknown option with an error' do expect { klass.valid?(invalid_param: true)