Reputation: 51787
I want to use Peter Marklund's html test plugin to automatically validate all of my HTML pages. I'm following his README instructions and have installed the plugin successfully. However, when I use his "assert_validates" method in a test, I get the following error message:
NameError: uninitialized constant Html::Test::Validator::RailsTidy
To me this looks like the plugin isn't being loaded (and thus the classes/methods aren't avilable). Is there something that I need to do (such as a "require", etc) in order to load/activate a plugin? I haven't done anything besides what I've described above. I get the feeling that there's something general I'm missing rather than something broken in the plugin itself. (If that's not the case, then I'll go to Peter for additional help.)
Upvotes: 0
Views: 86
Reputation: 6993
Do you need to also have the RailsTidy plugin, it's not clear from Peter's remarks if he pulled out the code that was needed or if you need both.
Upvotes: 3