summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/cgi/cookie.rb2
-rw-r--r--lib/net/http/header.rb2
-rw-r--r--spec/bundler/commands/binstubs_spec.rb2
-rw-r--r--spec/ruby/core/module/autoload_spec.rb2
-rw-r--r--spec/ruby/library/digest/bubblebabble_spec.rb2
5 files changed, 5 insertions, 5 deletions
diff --git a/lib/cgi/cookie.rb b/lib/cgi/cookie.rb
index 5033357ab66..99f4b20f56f 100644
--- a/lib/cgi/cookie.rb
+++ b/lib/cgi/cookie.rb
@@ -57,7 +57,7 @@ class CGI
#
# name:: the name of the cookie. Required.
# value:: the cookie's value or list of values.
- # path:: the path for which this cookie applies. Defaults to the
+ # path:: the path for which this cookie applies. Defaults to
# the value of the +SCRIPT_NAME+ environment variable.
# domain:: the domain for which this cookie applies.
# expires:: the time at which this cookie expires, as a +Time+ object.
diff --git a/lib/net/http/header.rb b/lib/net/http/header.rb
index 356b08d6fb4..8641be4eae7 100644
--- a/lib/net/http/header.rb
+++ b/lib/net/http/header.rb
@@ -323,7 +323,7 @@ module Net::HTTPHeader
end
# Returns "true" if the "transfer-encoding" header is present and
- # set to "chunked". This is an HTTP/1.1 feature, allowing the
+ # set to "chunked". This is an HTTP/1.1 feature, allowing
# the content to be sent in "chunks" without at the outset
# stating the entire content length.
def chunked?
diff --git a/spec/bundler/commands/binstubs_spec.rb b/spec/bundler/commands/binstubs_spec.rb
index 748cf6362fa..81b4d99064e 100644
--- a/spec/bundler/commands/binstubs_spec.rb
+++ b/spec/bundler/commands/binstubs_spec.rb
@@ -264,7 +264,7 @@ RSpec.describe "bundle binstubs <gem>" do
end
context "when using --shebang" do
- it "sets the specified shebang for the the binstub" do
+ it "sets the specified shebang for the binstub" do
install_gemfile <<-G
source "#{file_uri_for(gem_repo1)}"
gem "rack"
diff --git a/spec/ruby/core/module/autoload_spec.rb b/spec/ruby/core/module/autoload_spec.rb
index 6a1efa1ec27..df434e8e603 100644
--- a/spec/ruby/core/module/autoload_spec.rb
+++ b/spec/ruby/core/module/autoload_spec.rb
@@ -534,7 +534,7 @@ describe "Module#autoload" do
end
end
- it "and fails when finding the undefined autoload constant in the the current scope when declared in current and defined in parent" do
+ it "and fails when finding the undefined autoload constant in the current scope when declared in current and defined in parent" do
@remove << :DeclaredInCurrentDefinedInParent
module ModuleSpecs::Autoload
ScratchPad.record -> {
diff --git a/spec/ruby/library/digest/bubblebabble_spec.rb b/spec/ruby/library/digest/bubblebabble_spec.rb
index 7097553466a..e6516711088 100644
--- a/spec/ruby/library/digest/bubblebabble_spec.rb
+++ b/spec/ruby/library/digest/bubblebabble_spec.rb
@@ -6,7 +6,7 @@ describe "Digest.bubblebabble" do
Digest.bubblebabble('').should be_an_instance_of(String)
end
- it "returns a String in the The Bubble Babble Binary Data Encoding format" do
+ it "returns a String in the Bubble Babble Binary Data Encoding format" do
Digest.bubblebabble('').should == 'xexax'
Digest.bubblebabble('foo').should == 'xinik-zorox'
Digest.bubblebabble('bar').should == 'ximik-cosex'