Skip to content

Commit 6082f4b

Browse files
author
Kiriakos Velissariou
committed
test: move test case under correct context
1 parent 1b39a44 commit 6082f4b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

spec/transaction_spec.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
end
2323

2424
it 'should not accept invalid value' do
25-
expect(SEPA::Transaction).not_to accept(nil, '', 'X' * 71, for: :name)
25+
expect(SEPA::Transaction).not_to accept(nil, '', {}, 'X' * 71, for: :name)
2626
end
2727
end
2828

@@ -66,10 +66,6 @@
6666
), for: :creditor_address)
6767
end
6868
end
69-
70-
it 'should not accept invalid value' do
71-
expect(SEPA::Transaction).not_to accept('', {} , for: :name)
72-
end
7369
end
7470

7571
context 'IBAN' do

0 commit comments

Comments
 (0)