Hello list,

 I have an example/spec that relates to the Product#index view and
says "it should display only the active products". The thing is the
logic to filter the active products should be in the model, and not on
the view, since the view should be "dumb". I just realized that, and
what I think is, even though this statement has business value, it is
not lower level enough to be a view spec, nor a model or controller
spec -- it should be a cucumber step, if any.

Could someone enlighten-me, here? :)

Thanks in advance,

Marcelo.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to