it 'is able to use a custom path separator: default' do
is_expected.to run.with_params(data, 'a::c', 'default', '::').and_return('default')
end
+
+ it 'is able to throw an error with incorrect params' do
+ is_expected.to run.with_params.and_raise_error(ArgumentError, %r{Wrong number of arguments}i)
+ end
end
end