spec/authority/controller_spec.rb in authority-0.3.0 vs spec/authority/controller_spec.rb in authority-0.9.0

- old
+ new

@@ -82,10 +82,10 @@ @controller.send(:authority_forbidden, @mock_error) end it "should render the public/403.html file" do forbidden_page = Rails.root.join('public/403.html') - @controller.should_receive(:render).with(:file => forbidden_page, :status => 403) + @controller.should_receive(:render).with(:file => forbidden_page, :status => 403, :layout => false) @controller.send(:authority_forbidden, @mock_error) end end end end