Fix and simplify Language entry detection spec example
Fix and simplify Language entry detection spec example

GoogleCloudPlatform/ruby-docs-samples,GoogleCloudPlatform/ruby-docs-samples,GoogleCloudPlatform/ruby-docs-samples,GoogleCloudPlatform/ruby-docs-samples