...not the place to do this, and I should do it in Cucumber or something? Yes!
Tthe concept of testing controllers, views and models separately, is related to isolation of concerns. Your controller test is just that, testing the controller, regardless of routing, views, models, etc. You're unit testing, so to speak, just object#change_color. This is why mocks and stubs are created as well, to remove the coupling of the three so you can test each on it's own. Grain of salt disclaimer, I'm not to far down my BDD journey with Rails with RSpec and Cucumber myself.... b -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users