config <- get.config(Sys.getenv('RCOUCHUTILS_TEST_CONFIG'))
test_that("can establish a session",{
h <- RCurl::getCurlHandle()
res <- couch.session(h)
expect_that(res,is_a('list'))
expect_that(names(res),equals(c('ok','name','roles')))
expect_that(res$ok,equals(TRUE))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.