spec/integration/schema/predicates/gt_spec.rb in dry-validation-0.10.5 vs spec/integration/schema/predicates/gt_spec.rb in dry-validation-0.10.6
- old
+ new
@@ -23,27 +23,27 @@
end
context 'with nil input' do
let(:input) { { foo: nil } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with blank input' do
let(:input) { { foo: '' } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(ArgumentError, 'comparison of String with 23 failed')
end
end
context 'with invalid input type' do
let(:input) { { foo: [] } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with equal input' do
@@ -87,27 +87,27 @@
end
context 'with nil input' do
let(:input) { { foo: nil } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with blank input' do
let(:input) { { foo: '' } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(ArgumentError, 'comparison of String with 23 failed')
end
end
context 'with invalid input type' do
let(:input) { { foo: [] } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with equal input' do
@@ -153,27 +153,27 @@
end
context 'with nil input' do
let(:input) { { foo: nil } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with blank input' do
let(:input) { { foo: '' } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(ArgumentError, 'comparison of String with 23 failed')
end
end
context 'with invalid input type' do
let(:input) { { foo: [] } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with equal input' do
@@ -289,19 +289,19 @@
end
context 'with blank input' do
let(:input) { { foo: '' } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(ArgumentError, 'comparison of String with 23 failed')
end
end
context 'with invalid input type' do
let(:input) { { foo: [] } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with equal input' do
@@ -347,27 +347,27 @@
end
context 'with nil input' do
let(:input) { { foo: nil } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with blank input' do
let(:input) { { foo: '' } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(ArgumentError, 'comparison of String with 23 failed')
end
end
context 'with invalid input type' do
let(:input) { { foo: [] } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with equal input' do
@@ -483,18 +483,18 @@
end
context 'with blank input' do
let(:input) { { foo: '' } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(ArgumentError, 'comparison of String with 23 failed')
end
end
context 'with invalid input type' do
let(:input) { { foo: [] } }
- it 'is raises error' do
+ it 'raises error' do
expect { result }.to raise_error(NoMethodError)
end
end
context 'with equal input' do