Documents the changes that may be required when upgrading to a newer component version.
The ASPEC::Methods.assert_error and ASPEC::Methods.assert_success methods have been removed in favor new methods that more clearly show intent:
- If using
.assert_errorwithout thecodegenargument (the default), use.assert_compile_time_errorinstead - If using
.assert_errorwithcodegen: trueargument, use.assert_runtime_errorinstead - If using
.assert_successwithout thecodegenargument (the default), use.assert_compilesinstead - If using
.assert_successwithcodegen: trueargument, use.assert_executesinstead
Previously it was possible to define an #initialize method that accepted arguments/a block.
This was unintended and now results in a compile time error.