I'm undertaking a massive rework of one of our applications and the 
changes are so extensive the best way I can figure out everything that 
needs to be changed is (I think) by using Cucumber and the work using 
the outside-in approach.

However I've not really used either Cucumber or RSpec stories before, so 
I'm not sure what the best practices are, in this case when dealing with 
the end results (the view).

Do I test just that I've been redirected and that the correct template 
is being rendered (and any related flash message) and leave everything 
else to the view spec. I think doing too much checking on the view 
output inside the feature would result in extra work when changing the 
view (which can be bad enough with view specs), but then also I think 
that speccing out what should be in the view even vaguely really does 
belong in a scenario.

-D

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to