mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix typos
This commit is contained in:
parent
c3f91f9d88
commit
93a1ef6709
4 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue