aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/language
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language')
-rw-r--r--spec/ruby/language/alias_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/language/alias_spec.rb b/spec/ruby/language/alias_spec.rb
index 04ee09f61c..0aa238b273 100644
--- a/spec/ruby/language/alias_spec.rb
+++ b/spec/ruby/language/alias_spec.rb
@@ -38,14 +38,14 @@ describe "The alias keyword" do
@obj.a.should == 5
end
- it "works with a doubule quoted symbol on the left-hand side" do
+ it "works with a double quoted symbol on the left-hand side" do
@meta.class_eval do
alias :"a" value
end
@obj.a.should == 5
end
- it "works with an interoplated symbol on the left-hand side" do
+ it "works with an interpolated symbol on the left-hand side" do
@meta.class_eval do
alias :"#{'a'}" value
end
@@ -66,14 +66,14 @@ describe "The alias keyword" do
@obj.a.should == 5
end
- it "works with a doubule quoted symbol on the right-hand side" do
+ it "works with a double quoted symbol on the right-hand side" do
@meta.class_eval do
alias a :"value"
end
@obj.a.should == 5
end
- it "works with an interoplated symbol on the right-hand side" do
+ it "works with an interpolated symbol on the right-hand side" do
@meta.class_eval do
alias a :"#{'value'}"
end