Merge branch 'whitespace-cleanese' of git://github.com/goshakkk/discourse

Conflicts:
	lib/oneboxer.rb
	lib/oneboxer/whitelist.rb
	spec/controllers/robots_txt_controller_spec.rb
This commit is contained in:
Robin Ward
2013-02-26 10:42:49 -05:00
383 changed files with 4225 additions and 2226 deletions

View File

@ -10,13 +10,13 @@ describe RobotsTxtController do
response.should render_template :index
end
it "returns noindex when indexing is disallowed" do
it "returns noindex when indexing is disallowed" do
SiteSetting.stubs(:allow_index_in_robots_txt).returns(false)
get :index
response.should render_template :no_index
end
it "serves noindex when in private mode regardless of the configuration" do
end
it "serves noindex when in private mode regardless of the configuration" do
SiteSetting.stubs(:allow_index_in_robots_txt).returns(true)
SiteSetting.stubs(:restrict_access).returns(true)
get :index