Skip to content

Commit

Permalink
update tests for #142
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEdmondson1234 committed Jan 10, 2022
1 parent e3fb705 commit 6683272
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/testthat/test-objects.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ test_that("Object Operations", {
copy <- gcs_copy_object("mtcars.csv","mtcars2.csv",
source_bucket = buck,
destination_bucket = buck)
expect_equal(copy$kind, "storage#rewriteResponse")
expect_equal(copy$resource$kind, "storage#object")
expect_equal(copy$resource$name, "mtcars2.csv")
expect_equal(copy$kind, "storage#object")
expect_equal(copy$name, "mtcars2.csv")

})

Expand Down

0 comments on commit 6683272

Please sign in to comment.