Need help ;) Here is example of the code:
def some_method
@some_variable = "some logic for a few strings and operations"
end
I want to stub this method like a
controller.stub(:some_method).and_return( ??? )
But @some_variable should be defined also, how I can do that?