Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - Gemfile - app/controllers/api/v1/search_controller.rb Conflict because we changed the number of default results to be configurable - app/lib/settings/scoped_settings.rb Addition of a new “noindex” site-wide setting, conflict due to our change of the two other site-wide settings (default flavour and skin instead of theme) - spec/controllers/application_controller_spec.rb Addition of a new “noindex” site-wide setting, conflict due to our change of the two other site-wide settings (default flavour and skin instead of theme)
This commit is contained in:
commit
74c5b2bd08
265 changed files with 4731 additions and 1899 deletions
|
@ -113,6 +113,7 @@ describe ApplicationController, type: :controller do
|
|||
|
||||
allow(Setting).to receive(:[]).with('skin').and_return 'default'
|
||||
allow(Setting).to receive(:[]).with('flavour').and_return 'vanilla'
|
||||
allow(Setting).to receive(:[]).with('noindex').and_return false
|
||||
|
||||
expect(controller.view_context.current_flavour).to eq 'vanilla'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue