tests/testthat/test-project.R

context("project")

test_that("get_projects returns a data.frame", {
  expect_is(get_projects(), "data.frame")
})

test_that("get_project returns a data.frame", {
  expect_is(get_project(id = 1), "data.frame")
})
blasern/fairdomhubr documentation built on May 17, 2019, 1:35 p.m.