diff --git a/spec/transaction_spec.rb b/spec/transaction_spec.rb index 75d37ff..d5ce7d1 100644 --- a/spec/transaction_spec.rb +++ b/spec/transaction_spec.rb @@ -22,7 +22,7 @@ end it 'should not accept invalid value' do - expect(SEPA::Transaction).not_to accept(nil, '', 'X' * 71, for: :name) + expect(SEPA::Transaction).not_to accept(nil, '', {}, 'X' * 71, for: :name) end end @@ -66,10 +66,6 @@ ), for: :creditor_address) end end - - it 'should not accept invalid value' do - expect(SEPA::Transaction).not_to accept('', {} , for: :name) - end end context 'IBAN' do