Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
describe 'robots.txt' do
it 'is available on Texas' do
get_path '/robots.txt', at_host: 'texas.public.law'
expect(response.status).to be 200
end
it 'is available on www' do
get_path '/robots.txt', at_host: 'www.public.law'
expect(response.status).to be 200
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.