tests/testthat/test-csv.R

context("CSV uploads")

#
# Testing how the funnels package behaves with various CSV uploads. See fixtures.
#

test_that("successful test", {
  expect_equal(1,1)
})

test_that("problem-free.csv is silent", {
  expect_silent(wrapfunnel(datapath="fixtures/no-problems.csv"))
})

test_that("missing-data.csv complains", {
  expect_error(wrapfunnel(datapath="fixtures/missing-data.csv"))
})
gmp26/cljs_widgets documentation built on May 14, 2017, 1:56 p.m.