We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Допустим, в сервисе есть какой-то параметр с валидацией типа:
param :example, Types::InstanceOf(Example)
Если в RSpec создать инстанс дабл:
instance_double(Example)
и попытаться передать его в сервис, то будет ошибка:
SmartCore::Initializer::IncorrectTypeError: Validation of attribute 'example' (InstanceOf, got RSpec::Mocks::InstanceVerifyingDouble) failed: Invalid type
The text was updated successfully, but these errors were encountered:
Привет!
Решено было реализовать планинчик для snart-тайпс/smart-инишиалайзера для работы с RSpec
Sorry, something went wrong.
Скоро будет)
No branches or pull requests
Допустим, в сервисе есть какой-то параметр с валидацией типа:
Если в RSpec создать инстанс дабл:
и попытаться передать его в сервис, то будет ошибка:
The text was updated successfully, but these errors were encountered: