search for: recordtaghelp

Displaying 1 result from an estimated 1 matches for "recordtaghelp".

Did you mean: recordtaghelper
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 have a div tag for the shift" do render '...