diff --git a/.travis.yml b/.travis.yml index 6f23b1e..d48c13a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ git: before_install: - export TZ=UTC - - gem install -v 1.17.3 bundler --no-rdoc --no-ri + - gem install -v 1.17.3 bundler --no-document script: - bundle exec rubocop --format progress --format json --out rubocop-result.json diff --git a/spec/features/upload_file_to_bucket_spec.rb b/spec/features/upload_file_to_bucket_spec.rb index 48c8d65..ca177fd 100644 --- a/spec/features/upload_file_to_bucket_spec.rb +++ b/spec/features/upload_file_to_bucket_spec.rb @@ -37,13 +37,13 @@ def configure_gem end def stub_successful_request - stub_request(:put, %r{https:\/\/bulk-test\.s3\.eu-west-1\.amazonaws\.com\/test-bucket-load\..+}) + stub_request(:put, %r{https://bulk-test\.s3\.eu-west-1\.amazonaws\.com/test-bucket-load\..+}) end def stub_failing_request stub_request( :put, - %r{https:\/\/bulk-test\.s3\.eu-west-1\.amazonaws\.com\/test-bucket-load\..+} + %r{https://bulk-test\.s3\.eu-west-1\.amazonaws\.com/test-bucket-load\..+} ).to_return( status: 403 )