spec/authority/controller_spec.rb in authority-1.1.0 vs spec/authority/controller_spec.rb in authority-2.0.0

- old
+ new

@@ -128,9 +128,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') + Authority.configuration.logger.stub(:warn) @controller.should_receive(:render).with(:file => forbidden_page, :status => 403, :layout => false) @controller.send(:authority_forbidden, @mock_error) end end end