*I am testing my controller and I run coverage "rcov" to learn how much I
covered the test. However I cannot test Ruby methods. For example, This is
my controller,*
class AuthenticationsController < ApplicationController
def index
@authentications = current_user.authentications if
Hey,
I want to test my Rails app. When you click the image ajax sends to data to
DB and the data is updated in there. When I try to test, I faced with this
problem,
1) RwsController Update widget score takes widget rate information
Failure/Error:
mock_widget.should_receive(:update_attribut