You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apotonick edited this page Sep 28, 2011
·
1 revision
I'm strongly discouraging the render_views assignment as I don't see any reason for not rendering a view in a test. This small feature introduces a complexity, for such it is currently not implemented/considered in rspec-cells.
The assign(key, value) is again a remnant of Rails' monolithic views. Why should I test my views separately and spread knowledge about instance variables in tests when I have a small scoped cell?