Skip to content

Commit

Permalink
stub for sheets
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Sep 26, 2010
1 parent d018ed8 commit 4adac5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/helpers/admin/node_helper_spec.rb
Expand Up @@ -8,6 +8,7 @@
helper.stub!(:cookies).and_return(@cookies)
helper.stub!(:homepage).and_return(nil)
@page = mock_model(Page)
@page.stub!(:sheet?).and_return(false) # core extension alters the behavior
end

it "should render a sitemap node" do
Expand Down

0 comments on commit 4adac5c

Please sign in to comment.