docbrown/spec/requests/open_search_spec.rb
Michael Kohl b7ff9aadd1
Clean up SiteConfig (#13738)
* Remove obsolete SiteConfig values

* Remove DUS

* fixup! Remove obsolete SiteConfig values

* fixup! Remove obsolete SiteConfig values

* Add DUS for removing SiteConfig values

* Fix specs

* Fix specs

* Clean up more DUS

* Update DUS

* Fix remaining spec

* Remove leftover spec

* Fix more specs

* Fix spec

* Remove deprecated spec

* Rearrange specs

* Temporarily disable specs
2021-05-18 09:38:31 +07:00

12 lines
355 B
Ruby

require "rails_helper"
RSpec.describe "OpenSearch", type: :request do
let(:user) { create(:user, saw_onboarding: false) }
describe "GET /open-search.xml" do
it "has proper information" do
get "/open-search.xml"
expect(response.body).to include("<ShortName>#{Settings::Community.community_name} Search</ShortName>")
end
end
end