diff options
Diffstat (limited to 'spec/ruby/core')
-rw-r--r-- | spec/ruby/core/complex/comparison_spec.rb (renamed from spec/ruby/core/complex/comparision_spec.rb) | 0 | ||||
-rw-r--r-- | spec/ruby/core/struct/values_at_spec.rb | 6 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/complex/comparision_spec.rb b/spec/ruby/core/complex/comparison_spec.rb index 2a437afb71..2a437afb71 100644 --- a/spec/ruby/core/complex/comparision_spec.rb +++ b/spec/ruby/core/complex/comparison_spec.rb diff --git a/spec/ruby/core/struct/values_at_spec.rb b/spec/ruby/core/struct/values_at_spec.rb index 7e517cdb4b..e7d287cba2 100644 --- a/spec/ruby/core/struct/values_at_spec.rb +++ b/spec/ruby/core/struct/values_at_spec.rb @@ -4,9 +4,9 @@ require_relative 'fixtures/classes' describe "Struct#values_at" do it "returns an array of values" do clazz = Struct.new(:name, :director, :year) - movie = clazz.new('Sympathy for Mr. Vengence', 'Chan-wook Park', 2002) - movie.values_at(0, 1).should == ['Sympathy for Mr. Vengence', 'Chan-wook Park'] - movie.values_at(0..2).should == ['Sympathy for Mr. Vengence', 'Chan-wook Park', 2002] + movie = clazz.new('Sympathy for Mr. Vengeance', 'Chan-wook Park', 2002) + movie.values_at(0, 1).should == ['Sympathy for Mr. Vengeance', 'Chan-wook Park'] + movie.values_at(0..2).should == ['Sympathy for Mr. Vengeance', 'Chan-wook Park', 2002] end it "fails when passed unsupported types" do |