Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
johndharrison committed Jan 17, 2017
1 parent 5cdbc67 commit 65cf914
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/testthat/test-selenium.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,11 @@ test_that("canCallSelenium", {
}
)
expect_identical(selServ$process, "hello")
expect_identical(retCommand,
"/usr/bin/java -Dwebdriver.chrome.driver=some.path " %+%
"-Dwebdriver.gecko.driver=some.path " %+%
"-Dphantomjs.binary.path=some.path " %+%
"-Dwebdriver.ie.driver=some.path " %+%
"-jar some.path -port 4567")
expect_true(grepl("-Dwebdriver.chrome.driver=some.path " %+%
"-Dwebdriver.gecko.driver=some.path " %+%
"-Dphantomjs.binary.path=some.path " %+%
"-Dwebdriver.ie.driver=some.path " %+%
"-jar some.path -port 4567", retCommand))
})

test_that("errorIfJavaNotFound", {
Expand Down

0 comments on commit 65cf914

Please sign in to comment.