From a6860208b98f68f119bf611a156c05f31c2447cf Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Sun, 9 Oct 2011 21:38:32 +0800 Subject: [PATCH] Fixed spec for errs/show --- spec/views/errs/show.html.haml_spec.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/spec/views/errs/show.html.haml_spec.rb b/spec/views/errs/show.html.haml_spec.rb index 155a065..8f7e54f 100644 --- a/spec/views/errs/show.html.haml_spec.rb +++ b/spec/views/errs/show.html.haml_spec.rb @@ -10,6 +10,7 @@ describe "errs/show.html.haml" do assign :app, problem.app assign :notices, err.notices.paginate(:page => 1, :per_page => 1) assign :notice, err.notices.first + controller.stub(:current_user) { Factory(:user) } end describe "content_for :action_bar" do -- libgit2 0.21.2