You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

11 lines
311 B

context("basic functionality")
test_that("we can do something", {
rt <- robxp(robotstxt::get_robotstxt("https://cdc.gov"))
expect_that(rt, is_a("robxp"))
expect_that(can_fetch(rt, "/asthma/asthma_stats/default.htm", "*"), equals(TRUE))
expect_that(can_fetch(rt, "/_borders", "*"), equals(FALSE))
})