README.md in context_validations-0.1.1 vs README.md in context_validations-0.2.0
- old
+ new
@@ -135,9 +135,15 @@
We highly recommend using [ValidAttribute](https://github.com/bcardarella/valid_attribute) to test your validations. The following example is done using
`ValidAttribute`.
### MiniTest ###
+In `/test/test_helper.rb`:
+
+```ruby
+require 'context_validations/minitest'
+```
+
You are given access to a `#validations_for(:action_name)` method. You should pass the action in your
controller that is the context of the validations and use the `#validations=` setter on the model.
This is a common example of how to test: