Files
openfoodnetwork/spec/requests/well_known_spec.rb
Maikel Linke dcb6f4676d Remove all unnecessary spec_helper require statements
The `.rspec` file is doing this for us.
2026-01-21 12:35:34 +11:00

15 lines
399 B
Ruby

# frozen_string_literal: true
RSpec.describe "/.well-known/" do
describe "dfc/" do
it "publishes our endpoints" do
get "/.well-known/dfc/"
expect(response).to have_http_status :ok
expect(response.body).to include "ReadEnterprise"
expect(response.content_type).to eq "application/json; charset=utf-8"
expect(response.parsed_body.count).to eq 2
end
end
end