tests/testthat/test-auth.R

context("Authentication")

## test_that(
##   "cause error when no PAT set", {
##     skip("until we can test this another way")
##     Sys.unsetenv("RTM_PAT")
##     expect_error(rtm_req("rtm.contacts.getList"),
##                  "Couldn't find your RTM_PAT")
##   })
jowalski/rtmr documentation built on May 19, 2019, 9:43 p.m.