tests/testthat/test_limit.R

context("Limit")

test_that("limit maps to $limit stage",
{
	MongoPipeline() %>% mlimit(1) %>%
		pipelineAssert('{"$limit":1}')
})
returnString/mongoplyr documentation built on Oct. 1, 2017, 6:44 a.m.