Skip to content

Commit 020615c

Browse files
committed
added extra test for where not all fields are returned
1 parent 5700576 commit 020615c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/testthat/test-traffic-history.R

+4
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ test_that("traffic_history works", {
1616

1717
traffic_history(url="http://www.google.com", start="20160505")
1818
expect_that(traffic, is_a("data.frame"))
19+
20+
traffic_history(url="http://www.collegeweeklive.com", start="20160505")
21+
expect_that(traffic, is_a("data.frame"))
22+
1923
})

0 commit comments

Comments
 (0)