Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sharlagelfand/opendatatoronto
Browse files Browse the repository at this point in the history
  • Loading branch information
sharlagelfand committed Aug 31, 2019
2 parents 884002d + 672ef2a commit e0a5899
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions R/utils.R
Expand Up @@ -4,6 +4,7 @@ package_res_init <- tibble::tibble(
title = character(),
id = character(),
topics = character(),
civic_issues = character(),
excerpt = character(),
dataset_category = character(),
num_resources = integer(),
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-list_packages.R
Expand Up @@ -8,6 +8,7 @@ test_that("list_packages returns the right output formats.", {
expect_is(output$title, "character")
expect_is(output$id, "character")
expect_is(output$topics, "character")
expect_is(output$civic_issues,"character")
expect_is(output$excerpt, "character")
expect_is(output$dataset_category, "character")
expect_is(output$formats, "character")
Expand Down
3 changes: 3 additions & 0 deletions tests/testthat/test-search_packages.R
Expand Up @@ -8,6 +8,7 @@ test_that("search_packages has the correct return format.", {
expect_is(output$title, "character")
expect_is(output$id, "character")
expect_is(output$topics, "character")
expect_is(output$civic_issues,"character")
expect_is(output$excerpt, "character")
expect_is(output$dataset_category, "character")
expect_is(output$formats, "character")
Expand All @@ -21,6 +22,7 @@ test_that("search_packages has the correct return format.", {
expect_is(output$title, "character")
expect_is(output$id, "character")
expect_is(output$topics, "character")
expect_is(output$civic_issues,"character")
expect_is(output$excerpt, "character")
expect_is(output$dataset_category, "character")
expect_is(output$formats, "character")
Expand All @@ -34,6 +36,7 @@ test_that("search_packages has the correct return format.", {
expect_is(output$title, "character")
expect_is(output$id, "character")
expect_is(output$topics, "character")
expect_is(output$civic_issues,"character")
expect_is(output$excerpt, "character")
expect_is(output$dataset_category, "character")
expect_is(output$formats, "character")
Expand Down
3 changes: 3 additions & 0 deletions tests/testthat/test-show_package.R
Expand Up @@ -8,6 +8,7 @@ test_that("show_package has the correct return format.", {
expect_is(output$title, "character")
expect_is(output$id, "character")
expect_is(output$topics, "character")
expect_is(output$civic_issues,"character")
expect_is(output$excerpt, "character")
expect_is(output$dataset_category, "character")
expect_is(output$formats, "character")
Expand All @@ -21,6 +22,7 @@ test_that("show_package has the correct return format.", {
expect_is(output$title, "character")
expect_is(output$id, "character")
expect_is(output$topics, "character")
expect_is(output$civic_issues,"character")
expect_is(output$excerpt, "character")
expect_is(output$dataset_category, "character")
expect_is(output$formats, "character")
Expand All @@ -34,6 +36,7 @@ test_that("show_package has the correct return format.", {
expect_is(output$title, "character")
expect_is(output$id, "character")
expect_is(output$topics, "character")
expect_is(output$civic_issues,"character")
expect_is(output$excerpt, "character")
expect_is(output$dataset_category, "character")
expect_is(output$formats, "character")
Expand Down

0 comments on commit e0a5899

Please sign in to comment.