Displaying 2 results from an estimated 2 matches for "recordidentificationhelp".
Did you mean:
recordidentificationhelper
2006 Dec 13
4
RSpec and simply_helpful
Hi All
I''m having some problems running my view specs when using
simply_helpful. I have it semi-working via the following:
module SimplyHelpfulHelper
def self.included(base)
base.send :include, SimplyHelpful::RecordIdentificationHelper
base.send :include, SimplyHelpful::RecordTagHelper
end
end
context "The index template" do
setup do
@shift = mock("shift")
@shift.stub!(:class).and_return(Shift)
@shift.stub!(:id).and_return(1)
assigns[:shifts] = [@shift]
end
specify "should...
2007 Apr 20
1
simply_helpful and edge
Does anyone have view specs running on edge with simply_helpful?
I tried
http://blog.methodmissing.com/2006/11/23/using-simply_helpful-with-rspec-controller-tests/but
it seems that was written for pre-9 versions.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070420/0bc8d366/attachment.html