I am writing a custom form builder, which I have started programming without any tests. As I'm relatively new to Rails and certainly to RSpec I have no idea where to start with writing tests to do this.
My though process is something along the lines of:
Create view with form for method being tested (I don't want to actually create a physical view, just programatically I think).
Expect correct HTML rendered in view.
Repeat for each configuration option.
How would I go about this properly?
The source to my project can be found here: https://github.com/a...on-form-builder