Skip to content

Commit

Permalink
test: move test case under correct context
Browse files Browse the repository at this point in the history
  • Loading branch information
kiriakosv committed Jun 13, 2022
1 parent 1b39a44 commit 6082f4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions spec/transaction_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6082f4b

Please sign in to comment.