diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-04 15:09:32 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-04 15:09:32 +0000 |
commit | 401b64c4e840bc8887219e9e445a64b3d5943656 (patch) | |
tree | 989b93914e9a8ee57ef3ce0bb3d2e2083470fc49 /spec/ruby/library/tempfile | |
parent | 8a15857a7f283101a3923b76c71a1f05bfe58512 (diff) |
Update to ruby/spec@c1b568b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/ruby/library/tempfile')
-rw-r--r-- | spec/ruby/library/tempfile/_close_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/callback_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/close_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/delete_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/initialize_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/length_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/open_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/path_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/size_spec.rb | 4 | ||||
-rw-r--r-- | spec/ruby/library/tempfile/unlink_spec.rb | 4 |
10 files changed, 14 insertions, 14 deletions
diff --git a/spec/ruby/library/tempfile/_close_spec.rb b/spec/ruby/library/tempfile/_close_spec.rb index d91a3e1adc..c08f425b6f 100644 --- a/spec/ruby/library/tempfile/_close_spec.rb +++ b/spec/ruby/library/tempfile/_close_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'tempfile' describe "Tempfile#_close" do diff --git a/spec/ruby/library/tempfile/callback_spec.rb b/spec/ruby/library/tempfile/callback_spec.rb index 045252fec3..c0b1518326 100644 --- a/spec/ruby/library/tempfile/callback_spec.rb +++ b/spec/ruby/library/tempfile/callback_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'tempfile' describe "Tempfile.callback" do diff --git a/spec/ruby/library/tempfile/close_spec.rb b/spec/ruby/library/tempfile/close_spec.rb index aa776b840c..6cd55beecf 100644 --- a/spec/ruby/library/tempfile/close_spec.rb +++ b/spec/ruby/library/tempfile/close_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'tempfile' describe "Tempfile#close when passed no argument or [false]" do diff --git a/spec/ruby/library/tempfile/delete_spec.rb b/spec/ruby/library/tempfile/delete_spec.rb index 8e92631e62..0332b44dde 100644 --- a/spec/ruby/library/tempfile/delete_spec.rb +++ b/spec/ruby/library/tempfile/delete_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/unlink', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/unlink' require 'tempfile' describe "Tempfile#delete" do diff --git a/spec/ruby/library/tempfile/initialize_spec.rb b/spec/ruby/library/tempfile/initialize_spec.rb index 79f33e3e98..a3614971a1 100644 --- a/spec/ruby/library/tempfile/initialize_spec.rb +++ b/spec/ruby/library/tempfile/initialize_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'tempfile' describe "Tempfile#initialize" do diff --git a/spec/ruby/library/tempfile/length_spec.rb b/spec/ruby/library/tempfile/length_spec.rb index b4f0a3b1d4..bc622b9a70 100644 --- a/spec/ruby/library/tempfile/length_spec.rb +++ b/spec/ruby/library/tempfile/length_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/length', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/length' require 'tempfile' describe "Tempfile#length" do diff --git a/spec/ruby/library/tempfile/open_spec.rb b/spec/ruby/library/tempfile/open_spec.rb index 3ceaeec502..f9ebdce458 100644 --- a/spec/ruby/library/tempfile/open_spec.rb +++ b/spec/ruby/library/tempfile/open_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'tempfile' describe "Tempfile#open" do diff --git a/spec/ruby/library/tempfile/path_spec.rb b/spec/ruby/library/tempfile/path_spec.rb index f25e902872..07f75b3e10 100644 --- a/spec/ruby/library/tempfile/path_spec.rb +++ b/spec/ruby/library/tempfile/path_spec.rb @@ -1,4 +1,4 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' require 'tempfile' describe "Tempfile#path" do diff --git a/spec/ruby/library/tempfile/size_spec.rb b/spec/ruby/library/tempfile/size_spec.rb index ac66d35906..f4824601c7 100644 --- a/spec/ruby/library/tempfile/size_spec.rb +++ b/spec/ruby/library/tempfile/size_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/length', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/length' require 'tempfile' describe "Tempfile#size" do diff --git a/spec/ruby/library/tempfile/unlink_spec.rb b/spec/ruby/library/tempfile/unlink_spec.rb index d4ef343c8d..eac7df8472 100644 --- a/spec/ruby/library/tempfile/unlink_spec.rb +++ b/spec/ruby/library/tempfile/unlink_spec.rb @@ -1,5 +1,5 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../shared/unlink', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/unlink' require 'tempfile' describe "Tempfile#unlink" do |