tests/testthat/test-information.R

context("Information functions")

test_that("Test information functions errors", {
  
  expect_error(ghc_repos_get_github_information(prefix = "test"), "organization required")
  expect_error(ghc_repos_get_github_information(org = "test"), "assignment prefix required")
  expect_error(ghc_repos_get_github_information("test", "test"), "access token required")
  
})
KopfLab/ghctools documentation built on Feb. 4, 2018, 12:01 a.m.