Skip to content

Instantly share code, notes, and snippets.

@dogweather
Created June 8, 2018 08:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dogweather/c100fb0bc7465eebfa3683721a0c9047 to your computer and use it in GitHub Desktop.
Save dogweather/c100fb0bc7465eebfa3683721a0c9047 to your computer and use it in GitHub Desktop.
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