summaryrefslogtreecommitdiff
path: root/spec/ruby/language/while_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/language/while_spec.rb')
-rw-r--r--spec/ruby/language/while_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/language/while_spec.rb b/spec/ruby/language/while_spec.rb
index e172453ca6..00e948e41f 100644
--- a/spec/ruby/language/while_spec.rb
+++ b/spec/ruby/language/while_spec.rb
@@ -1,4 +1,4 @@
-require_relative '../spec_helper'
+require File.expand_path('../../spec_helper', __FILE__)
# while bool-expr [do]
# body
@@ -330,7 +330,7 @@ describe "The while modifier with begin .. end block" do
a.should == [0, 1, 2, 4]
end
- it "restarts the current iteration without reevaluating condition with redo" do
+ it "restarts the current iteration without reevaluting condition with redo" do
a = []
i = 0
j = 0