Skip to content

Commit

Permalink
chore: Update gcloud and google-cloud to minitest 5.14
Browse files Browse the repository at this point in the history
  • Loading branch information
quartzmo committed Apr 27, 2020
1 parent 7b293a7 commit e841ddb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 20 deletions.
4 changes: 0 additions & 4 deletions gcloud/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ source "https://rubygems.org"
gemspec

gem "rake"

# Pin minitest to 5.11.x to avoid warnings emitted by 5.12.
# See https://github.com/googleapis/google-cloud-ruby/issues/4110
gem "minitest", "~> 5.11.3"
21 changes: 10 additions & 11 deletions gcloud/test/gcloud_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,61 +17,60 @@
describe Gcloud do

it "is an alias to Google::Cloud" do
Gcloud.must_equal Google::Cloud
assert_equal Google::Cloud, Gcloud
end

it "can require BigQuery" do
require "gcloud/bigquery"

Gcloud::Bigquery.must_equal Google::Cloud::Bigquery
assert_equal Google::Cloud::Bigquery, Gcloud::Bigquery
end

it "can require Datastore" do
require "gcloud/datastore"

Gcloud::Datastore.must_equal Google::Cloud::Datastore
assert_equal Google::Cloud::Datastore, Gcloud::Datastore
end

it "can require DNS" do
require "gcloud/dns"

Gcloud::Dns.must_equal Google::Cloud::Dns
assert_equal Google::Cloud::Dns, Gcloud::Dns
end

it "can require Logging" do
require "gcloud/logging"

Gcloud::Logging.must_equal Google::Cloud::Logging
assert_equal Google::Cloud::Logging, Gcloud::Logging
end

it "can require Pub/Sub" do
require "gcloud/pubsub"

Gcloud::Pubsub.must_equal Google::Cloud::Pubsub
assert_equal Google::Cloud::Pubsub, Gcloud::Pubsub
end

it "can require Resource Manager" do
require "gcloud/resource_manager"

Gcloud::ResourceManager.must_equal Google::Cloud::ResourceManager
assert_equal Google::Cloud::ResourceManager, Gcloud::ResourceManager
end

it "can require Storage" do
require "gcloud/storage"

Gcloud::Storage.must_equal Google::Cloud::Storage
assert_equal Google::Cloud::Storage, Gcloud::Storage
end

it "can require Translate" do
require "gcloud/translate"

Gcloud::Translate.must_equal Google::Cloud::Translate

assert_equal Google::Cloud::Translate, Gcloud::Translate
end

it "can require Vision" do
require "gcloud/vision"

Gcloud::Vision.must_equal Google::Cloud::Vision
assert_equal Google::Cloud::Vision, Gcloud::Vision
end
end
4 changes: 0 additions & 4 deletions google-cloud/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,3 @@ source "https://rubygems.org"
gemspec

gem "rake"

# Pin minitest to 5.11.x to avoid warnings emitted by 5.12.
# See https://github.com/googleapis/google-cloud-ruby/issues/4110
gem "minitest", "~> 5.11.3"
2 changes: 1 addition & 1 deletion google-cloud/test/google/cloud/version_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

describe Google::Cloud, :version do
it "has a version" do
Google::Cloud::VERSION.wont_be :nil?
assert Google::Cloud::VERSION
end
end

0 comments on commit e841ddb

Please sign in to comment.