context("Get Workspaces")
library(testthat)
library(Noir)
test_that("getWorkspaces() will give an output message when not connected to API", {
expect_output(getWorkspaces(urlWSP), "Get Workspaces Generated an Error")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.