I am just learning RSpec. I generated resources using rails generate scaffold …
I am now creating RSpec tests for the generated code. This is a generic need. Does anyone have an example or template for testing basic requests (get, index, destroy, update, create) in RSpec?
Since the code is autogenerated, I am not planning on creating unit tests, just the request tests. If I add special logic, I will do TDD.