Hi,
I would like to use Cucumber and RSpec for my existing Rails project.
I am now reasonably comfortable with the use of these, having studied the RSpec
Book and various online resources. I am however unsure about one thing...
Given that I have several existing models and controllers in my c
I am new to RSpec and have just started to drive out my first Rails view using
a spec. I have used the The RSpec Book (beta) to do the basic stuff like
testing for the presence of a field but I am unsure where to start for driving
out some AJAX functionality.
In the view, I will have a text fie
I am new to RSpec and would appreciate some pointers on how to specify the
following for my Rails application...
I have a controller called ContextsController and, within this, the usual
'create' method. The first line of this method should be:
@member = logged_in_member
where logged_in_memb
I am trying to specify a controller with RSpec for the first time.
I have been using mock_model to date but, given that the models are fully
implemented, I am wondering if I should be using stub_model.
Based on what I have read, I am struggling to understand the advantages that
stub_model over