diff --git a/tests/testthat/test-developer-tools-xregs.R b/tests/testthat/test-developer-tools-xregs.R index 991c7d8d..a7c5e33a 100644 --- a/tests/testthat/test-developer-tools-xregs.R +++ b/tests/testthat/test-developer-tools-xregs.R @@ -42,7 +42,7 @@ test_that("create_xreg_recipe: dummy_encode = FALSE returns factors", { }) -test_that("create_xreg_recipe: dummy_encode = TRUE returns numeric", { +test_that("create_xreg_recipe: dummy_encode = TRUE returns integer", { # Month predictors <- m4_monthly %>% @@ -56,7 +56,7 @@ test_that("create_xreg_recipe: dummy_encode = TRUE returns numeric", { expect_equal(ncol(juiced), 11) - expect_true(all(juiced %>% map(class) %>% unlist() %in% "numeric")) + expect_true(all(juiced %>% map(class) %>% unlist() %in% "integer")) })