context("rating") test_that("test basic rating_input behaviour", { # type expect_is(rating_input("rating"), "shiny.tag") # empty input expect_error(rating_input()) # number input si_str <- as.character(rating_input("rating")) expect_true(grepl("
\n
\n