tests/testserver/test_ts_vendor_specifications.R

context("ts vendor_specifications")

con <- ba_db()$testserver

test_that("Vendor specifications are present", {

  res <- ba_vendor_specifications(con = con)
  expect_that("list" %in% class(res), is_true())

  res <- ba_vendor_specifications(con = con, rclass = "json")
  expect_that("json" %in% class(res), is_true())

})
c5sire/brapi documentation built on Oct. 17, 2019, 11:45 a.m.