1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix typos

This commit is contained in:
Marcus Stollsteimer 2020-12-24 23:20:04 +01:00
parent c3f91f9d88
commit 93a1ef6709
4 changed files with 4 additions and 4 deletions

View file

@ -76,7 +76,7 @@ describe "Module#attr_accessor" do
end
ruby_version_is "3.0" do
it "returns an array of defined methods names as symbols" do
it "returns an array of defined method names as symbols" do
Class.new do
(attr_accessor :foo, 'bar').should == [:foo, :foo=, :bar, :bar=]
end

View file

@ -71,7 +71,7 @@ describe "Module#attr_reader" do
end
ruby_version_is "3.0" do
it "returns an array of defined methods names as symbols" do
it "returns an array of defined method names as symbols" do
Class.new do
(attr_reader :foo, 'bar').should == [:foo, :bar]
end

View file

@ -157,7 +157,7 @@ describe "Module#attr" do
end
ruby_version_is "3.0" do
it "returns an array of defined methods names as symbols" do
it "returns an array of defined method names as symbols" do
Class.new do
(attr :foo, 'bar').should == [:foo, :bar]
(attr :baz, false).should == [:baz]

View file

@ -71,7 +71,7 @@ describe "Module#attr_writer" do
end
ruby_version_is "3.0" do
it "returns an array of defined methods names as symbols" do
it "returns an array of defined method names as symbols" do
Class.new do
(attr_writer :foo, 'bar').should == [:foo=, :bar=]
end