Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
aappling-usgs committed Mar 15, 2018
1 parent 0b93172 commit 50fcbd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/testthat/tests-publishLandingPage.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ oldwd <- getwd()
setuptmp <- setup()

test_that("publishLandingPage works", {

mock.get.repository.path <- function(org, repo, file) {
list(ok=TRUE, content=list(html_url=paste0('https://github.com/', org, '/', repo, '/blob/master/', file)))
}
with_mock(
`grithub::get.repository.path` = mock.get.repository.path,
`vizlab:::getRepoNames` = function(org) { c("example", "great-lakes-microplastics", "climate-fish-habitat", "vizlab") },
Expand Down

0 comments on commit 50fcbd8

Please sign in to comment.