From 8c17e9456f565d7088a11ea4e87a7b02848f8479 Mon Sep 17 00:00:00 2001 From: Luca Guidi Date: Wed, 11 May 2016 13:35:17 +0200 Subject: [PATCH] Make it to work with latest dry-rb master versions --- test/predicates/form/array_test.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/predicates/form/array_test.rb b/test/predicates/form/array_test.rb index 536e26b..227ed7b 100644 --- a/test/predicates/form/array_test.rb +++ b/test/predicates/form/array_test.rb @@ -41,8 +41,8 @@ describe 'with blank input' do let(:input) { { 'foo' => '' } } - it 'is not successful' do - refute_successful result, ['must be an array'] + it 'is successful' do + assert_successful result end end @@ -170,8 +170,8 @@ describe 'with blank input' do let(:input) { { 'foo' => '' } } - it 'is not successful' do - refute_successful result, ['must be an array'] + it 'is successful' do + assert_successful result end end @@ -222,8 +222,8 @@ describe 'with blank input' do let(:input) { { 'foo' => '' } } - it 'is not successful' do - refute_successful result, ['must be an array'] + it 'is successful' do + assert_successful result end end