describe MyController do integrate_views describe "A common base senario" do it "no longer integrates views" do be_careful end end end
integrate_views affects an attribute in the class formed by the describe factory method. The second describe generates its own class, so integrate_views is OFF at that level. I've already spent far, far too much time tracking this one down to verify that sub-describes at the same level independently integrate_views (I expect that they should). This might be a candidate for additional documentation. -- View this message in context: http://www.nabble.com/Warning%3A--integrate_views-and-nested-description-groups-tp16012571p16012571.html Sent from the rspec-users mailing list archive at Nabble.com. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users