tests/testthat/test-getWorkspaces.R

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")
})
jluthy/Noir documentation built on Oct. 12, 2019, 3:17 p.m.