Scott Taylor wrote:
Of course there is a way - the question is, do you really want to use it?
After seeing that, no, not really. I agree with you on it likely messing
with clarity. I opted to rework my specs. It wasn't my preferred option,
but there really wasn't a better way. Thanks to
I can't figure out what I do wrong there, I have a nested controller
which is defined as a singular resource, the routing works properly,
but inside my specs the request never goes through the show action.
I keep on getting this error :
Spec::Mocks::MockExpectationError in
On Thu, Jul 31, 2008 at 4:06 PM, Bastien [EMAIL PROTECTED] wrote:
I can't figure out what I do wrong there, I have a nested controller
which is defined as a singular resource, the routing works properly,
but inside my specs the request never goes through the show action.
I keep on getting
Hello,
I'm trying to spec a plugin that includes a module that adds
functionality to ActionController below is what I've come up with:
# vendor/plugins/custom_attribute_fu/spec/active_record_spec.rb
require File.dirname(__FILE__) + '/spec_helper'
class TestPerson ActiveRecord::Base
end