Remove the access_password site setting

This commit is contained in:
Neil Lalonde
2013-06-25 15:05:16 -04:00
parent 9a19c0d9c4
commit a86b35c873
30 changed files with 40 additions and 295 deletions

View File

@ -16,12 +16,5 @@ describe RobotsTxtController do
response.should render_template :no_index
end
it "serves noindex when in private mode regardless of the configuration" do
SiteSetting.stubs(:allow_index_in_robots_txt).returns(true)
SiteSetting.stubs(:access_password).returns('adventure time!')
get :index
response.should render_template :no_index
end
end
end