CHANGELOG.md in govuk_ab_testing-2.4.0 vs CHANGELOG.md in govuk_ab_testing-2.4.1
- old
+ new
@@ -1,4 +1,12 @@
+## 2.4.1
+
+* Add extra validation to ActiveSupport assertions to help debug test failures.
+ In order to make assertions about the `meta` tags, the view must be rendered
+ in the test. RSpec Rails tests do not do this by default, so you need to call
+ `render_views` explicitly. Without this check, tests fail with a cryptic error
+ message "undefined method 'document' for nil:NilClass".
+
## 2.4.0
* Add two new optional parameters to `GovukAbTesting::AbTest`:
`allowed_variants` and `control_variant`. These allow us to override the
traditional naming of the A/B tests and also setup a multivariate test if